Skip to content

Instantly share code, notes, and snippets.

@chriskief
Last active August 29, 2015 14:08
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save chriskief/aed58545310943b1e07b to your computer and use it in GitHub Desktop.
rsync -rave "ssh -i /path/to/EC2_KEY.pem" /path/to/local/files/* EC2_USER@EC2_INSTANCE:/path/to/remote/files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment