Skip to content

Instantly share code, notes, and snippets.

@zburgermeiszter
Created June 21, 2017 10:11
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save zburgermeiszter/eb21ead93e397cd2e52ae7b9562fb6d9 to your computer and use it in GitHub Desktop.
Save zburgermeiszter/eb21ead93e397cd2e52ae7b9562fb6d9 to your computer and use it in GitHub Desktop.
EC2 ssh-copy-id
cat ~/.ssh/id_rsa.pub | ssh -i aws.pem ubuntu@ip_address "cat - >> ~/.ssh/authorized_keys"
@brudex
Copy link

brudex commented Apr 5, 2022

Nicely done

@EnkiLeeTS
Copy link

Nicely done x2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment