Skip to content

Instantly share code, notes, and snippets.

@cbilgili
Last active December 23, 2015 19:29
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 cbilgili/6683405 to your computer and use it in GitHub Desktop.
Save cbilgili/6683405 to your computer and use it in GitHub Desktop.
terminal file copy scp
local to remote
scp -i ~/.ssh/supernomads.pem supernomads.com.crt ubuntu@54.229.19.140:~/.
~/.ssh klasöründeyken
rsync -avL --progress -e "ssh -i ./supernomads.pem" ~/Downloads/kibo_image/* ubuntu@54.72.111.93:/tmp/.
rsync -rave "ssh -i ./supernomads.pem" ~/Downloads/kibo_image/* ubuntu@54.72.111.93:/tmp/.
remote to local
scp -r user@your.server.example.com:/path/to/foo /home/user/Desktop/
scp -r root@212.68.63.235:/var/www/vhosts/lensparki.com.old/lensparki.com/httpdocs .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment