Skip to content

Instantly share code, notes, and snippets.

@andreasisaak
Created September 21, 2014 13:47
Show Gist options
  • Save andreasisaak/e0ccc502fd69f26b5351 to your computer and use it in GitHub Desktop.
Save andreasisaak/e0ccc502fd69f26b5351 to your computer and use it in GitHub Desktop.
Using SSH keys on your server
http://kb.mediatemple.net/questions/1626/Using+SSH+keys+on+your+server
Local: cat ~/.ssh/id_rsa.pub | ssh [email protected] 'cat - >> ~/.ssh/authorized_keys'
Remote chmod 600 ~/.ssh/authorized_keys && chmod 700 ~/.ssh/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment