Skip to content

Instantly share code, notes, and snippets.

@onigra
Last active December 13, 2015 01:28
Show Gist options
  • Save onigra/4850623 to your computer and use it in GitHub Desktop.
Save onigra/4850623 to your computer and use it in GitHub Desktop.
ssh
cat .ssh/id_rsa.pub | ssh user@ip "cat >>.ssh/authorized_keys && chmod 600 .ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment