Skip to content

Instantly share code, notes, and snippets.

@kacinskas
Created December 10, 2012 07:42
Show Gist options
  • Save kacinskas/4249085 to your computer and use it in GitHub Desktop.
Save kacinskas/4249085 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