Help Me! (SSH/SCP)

Discussion in 'macOS' started by GimmeSlack12, Jan 27, 2007.

  1. GimmeSlack12 macrumors 603

    GimmeSlack12

    Joined:
    Apr 29, 2005
    Location:
    San Francisco
    #1
    I am trying to remotely access a computer through my LAN. Using SCP I am not able to get through using the terminal.

    WAN IP: 24.205.245.xxx
    LAN IP: 192.168.1.113

    I am using the command:
    scp file.pdf <user>@<WAN IP>:<destination>
    and naturally this is not working. The only way I can get a transfer going is to try and transfer to the <user> root at the WAN IP and this ends up downloading the file to my router, which of course doesn't work (the router stalls and I have to manually reboot the thing).

    Can anyone help me here, this bugging the crap out of me.
    Oh and I have port 22 forwarded.

    Overall the issue here is how do I direct the incoming file through the WAN IP to the LAN IP??? (get the file to go to the correct computer on the LAN).
     
  2. Eraserhead macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #2
    You need to forward port 22 on your router to your Mac to use SSH/SFTP/SCP.

    You also need to have enabled remote login (System Prefs==>Sharing==>Remote Login)

    have you tried ssh access?
     
  3. GimmeSlack12 thread starter macrumors 603

    GimmeSlack12

    Joined:
    Apr 29, 2005
    Location:
    San Francisco
    #3
    Yes I have port 22 forwarded. Yes to your other suggestions as well. thanks though.
     
  4. Eraserhead macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #4
    As SSH works? If so try SFTP instead of SCP.
     

Share This Page