Skip to content

Instantly share code, notes, and snippets.

@cmd-save
Last active May 9, 2024 16:27
Show Gist options
  • Select an option

  • Save cmd-save/7d064362cad0ef603f572bf3fb2d25dc to your computer and use it in GitHub Desktop.

Select an option

Save cmd-save/7d064362cad0ef603f572bf3fb2d25dc to your computer and use it in GitHub Desktop.
SCP to amazon EC2 server
To Secure copy from your local computer to Amazon EC2 instance, use the following script:
scp -i <.pem file> /path/to/file ubuntu@ec2-52-14-247-23.us-east-2.compute.amazonaws.com:/your/destination/directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment