Last active
December 11, 2015 16:08
-
-
Save OrangeCrush/4625349 to your computer and use it in GitHub Desktop.
I use this so much to upload keys and it's a pain to go out on the net and look for it each time
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 user@hostname "mkdir .ssh; cat >> ~/.ssh/authorized_keys" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment