Skip to content

Instantly share code, notes, and snippets.

@gh0st026
Created October 15, 2018 09:16
Show Gist options
  • Save gh0st026/f903b60b6241671bb1809d7ea61e3889 to your computer and use it in GitHub Desktop.
Save gh0st026/f903b60b6241671bb1809d7ea61e3889 to your computer and use it in GitHub Desktop.
Download / Upload a file on AWS EC2
# Download File
scp -i ec2key.pem username@ec2ip:/path/to/file .
# Upload File
scp -i ec2key.pem path/to/file username@ec2ip:/path/to/file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment