Created
July 3, 2017 02:13
-
-
Save jonlow/33277557ddd4cc051f313eb3e51d5f6d to your computer and use it in GitHub Desktop.
rsync deploy on amazon ec2 with .pem file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync -rave "ssh -i /Users/path/pemfile.pem" localDistFolder/ ubuntu@myAmazonec2server:/var/www/productionDistFolder/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment