Skip to content

Instantly share code, notes, and snippets.

@miguelfito
Forked from kacinskas/gist:4249085
Last active March 31, 2016 06:27
Show Gist options
  • Save miguelfito/28d021af1ec607e84ad324af633ebb3c to your computer and use it in GitHub Desktop.
Save miguelfito/28d021af1ec607e84ad324af633ebb3c to your computer and use it in GitHub Desktop.
LINUX : put SSH keys on server
cat ~/.ssh/id_rsa.pub | ssh hostname 'cat >> ~/.ssh/authorized_keys'
-OR-
sh-copy-id -i ~/.ssh/id_rsa.pub username:password@remotehost.co.jp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment