Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have a folder on my mac that I need to move over to my server. I can ssh in the server but how do i get this folder up....

say I am on my local computer and the folder is named shared and I want to put it on the server in /srv/www/somesite/current. How do i enter the password in my scp command

I found this but i dont think its right

scp -r shared/* matt@
share|improve this question
scp -r shared matt@

That should get the job done (assuming "shared" is in your CWD) if the server support scp, which it likely will by default. You'll be asked for you password from STDIN after issuing the command.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.