Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I normally ssh into my remote server in order to administrate my files using terminal for Mac OS X.

I don't understand how I retrieve (download) files from the server to my local computer, or send files from my local computer to the server (upload).

share|improve this question

migrated from stackoverflow.com Apr 9 '10 at 15:56

This question came from our site for professional and enthusiast programmers.

To grab a file over SSH:

$ scp host:/path/to/file local_file

To send a file:

$ scp local_file host:/path/to/file

scp is "secure copy", a copy utility that sends files over an SSH connection.

share|improve this answer
    
perfect - thanks! – significance Apr 9 '10 at 14:43
    
there's also sftp, which is kind of like ftp, but uses ssh as the actual means of communication. – Isaac Apr 10 '10 at 18:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .