Skip to content

Instantly share code, notes, and snippets.

@basedalexander
Last active March 15, 2018 15:08
Show Gist options
  • Save basedalexander/6c140e09f39e4e0fe1c580298a96794d to your computer and use it in GitHub Desktop.
Save basedalexander/6c140e09f39e4e0fe1c580298a96794d to your computer and use it in GitHub Desktop.
scp user@128.35.35.351:~/nginx.tar.gz ~/Desktop/nginx.tar.gz
# Using key file
scp -i ./keys.pem user@128.35.35.351:~/nginx.tar.gz ~/Desktop/nginx.tar.gz
# from local machine to remote server
scp -i ../Dropbox/AWS_keys/ec2-1.pem ./kozlovcoin-wallet.targ.gz ec2-user@ec2-52-14-168-15.us-east-2.compute.amazonaws.com:~/thohoh.pro/kozlovcoin-wallet.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment