Skip to content

Instantly share code, notes, and snippets.

@totherik
Created May 3, 2012 18:09
Show Gist options
  • Save totherik/2587756 to your computer and use it in GitHub Desktop.
Save totherik/2587756 to your computer and use it in GitHub Desktop.
rsync file to EC2 instance
rsync -e "ssh -i {pemfile}" {sourcepath} ec2-user@{server}:{destpath}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment