Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ratulcse10/51fa17bc60750222ee1b279f07361a77 to your computer and use it in GitHub Desktop.
Save ratulcse10/51fa17bc60750222ee1b279f07361a77 to your computer and use it in GitHub Desktop.
copy file from localserver to remote server with pem authentication
scp -i mykey.pem somefile.txt root@my.ec2.id.amazonaws.com:/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment