Skip to content

Instantly share code, notes, and snippets.

@seyhunak
Created March 12, 2014 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seyhunak/9503861 to your computer and use it in GitHub Desktop.
Save seyhunak/9503861 to your computer and use it in GitHub Desktop.
Copying files between local and remote
scp -r user@your.server.example.com:/path/to/foo /home/user/Desktop/
scp -i mykey.pem somefile.txt root@ec2-184-73-72-150.compute-1.amazonaws.com:/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment