Skip to content

Instantly share code, notes, and snippets.

@OrangeCrush
Last active December 11, 2015 16:08
Show Gist options
  • Save OrangeCrush/4625349 to your computer and use it in GitHub Desktop.
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
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