Skip to content

Instantly share code, notes, and snippets.

@icantrap
Last active December 19, 2015 06:09
Show Gist options
  • Save icantrap/5909941 to your computer and use it in GitHub Desktop.
Save icantrap/5909941 to your computer and use it in GitHub Desktop.
What to do if there's no ssh-copy-id available
cat ~/.ssh/id_rsa.pub | ssh user@host 'cat >> ~/.ssh/authorized_keys'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment