Skip to content

Instantly share code, notes, and snippets.

@pulkitsinghal
Created December 13, 2011 01:47
Show Gist options
  • Save pulkitsinghal/1470015 to your computer and use it in GitHub Desktop.
Save pulkitsinghal/1470015 to your computer and use it in GitHub Desktop.
EC2 Bare Minimum
# For moving data to & from the EC2 instance, simply use scp which runs on top of ssh like so:
$ scp -i /Users/XXX/.ec2/ec2.pem [email protected]:/path/to/file/to/get/from/ec2/instance.txt /path/to/local/folder/for/storage/
$ scp -i /Users/XXX/.ec2/ec2.pem /path/to/file/to/push/to/ec2/instance.txt [email protected]:/path/to/ec2/folder/for/storage/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment