Created
June 21, 2017 10:11
-
-
Save zburgermeiszter/eb21ead93e397cd2e52ae7b9562fb6d9 to your computer and use it in GitHub Desktop.
EC2 ssh-copy-id
This file contains 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
cat ~/.ssh/id_rsa.pub | ssh -i aws.pem ubuntu@ip_address "cat - >> ~/.ssh/authorized_keys" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nicely done