Skip to content

Instantly share code, notes, and snippets.

@amowu
Created March 18, 2014 16:45
Show Gist options
  • Save amowu/9624047 to your computer and use it in GitHub Desktop.
Save amowu/9624047 to your computer and use it in GitHub Desktop.
Install ssh-copy-id on Mac OS X.
curl https://raw.github.com/beautifulcode/ssh-copy-id-for-OSX/master/ssh-copy-id.sh > /usr/local/bin/ssh-copy-id && chmod +x /usr/local/bin/ssh-copy-id
@amowu
Copy link
Author

amowu commented Mar 18, 2014

How to use

ssh-copy-id -i ~/.ssh/id_rsa.pub <user>@<host>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment