Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to transfer files withc SCP

I'm SSH'd to remote server how would scp files off that server to my local machine

Note: I'm wireless so I'm assuming i'll have to deal with my local IP as well as my external IP

iMac Alu 2.0GHz, Mac OS X (10.5.5)

Posted on Sep 19, 2009 6:24 PM

Reply
3 replies
Sort By: 

Sep 19, 2009 7:21 PM in response to Eric Lundquist

The easiest approach here is likely to bring up sftp from the local client, and specify your credentials for the server (same as ssh) and pull or push the files as needed. sftp rides atop ssh, so it works with the same security and credentials, and (if you're allowed ssh) sftp usually isn't blocked.

Otherwise you're going to have to engineer scp through the whole chain, and (if you're using ssh to access the far end) and have a firewall and NAT box on the local end (as is likely here), configuring and establishing that connection going to be involved.

If you really want scp, then you'll want to look at port forwarding and port-forward scp over an ssh session; scp would be tunneled back to your client via ssh. That's going to be a little digging in the ssh documentation.
Reply

Sep 19, 2009 8:20 PM in response to Eric Lundquist

If you can SSH to the machine, and you know the full file path, then you can pull the file from the remove machine.

scp user@100.100.100.100:/path/to/file ./
this would copy the remote file to your current working directory.

add -r if you are copying a directory.

You can always use a GUI (Cyberduck, Transmit, etc)

Jeff
Reply

How to transfer files withc SCP

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.