Skip to content

Instantly share code, notes, and snippets.

@sescobb27
Created February 22, 2015 01:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sescobb27/633cc5b078596e1f8f26 to your computer and use it in GitHub Desktop.
Save sescobb27/633cc5b078596e1f8f26 to your computer and use it in GitHub Desktop.
Copy ssh key to AWS
cat ~/.ssh/id_rsa.pub | ssh -i home.pem {$USER}@{$IP} "cat - >> ~/.ssh/authorized_keys2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment