All writing

Quick Reminder: ssh-copy-id on Mac OS X

January 19, 2011 1 min read Luke Chadwick

This post is 15 years old. It was originally published on vertis.io; links and advice may have aged.

Mac OS X for some reason lacks the ssh-copy-id shell script. You can install ssh-copy-id on Mac OS X using either 'homebrew' or 'macports'. Since it is a fairly trivial script you could also choose to copy it from various sources manually.

e.g:

curl https://github.com/beautifulcode/ssh-copy-id-for-OSX/ssh-copy-id.sh \
      -o /usr/local/bin/ssh-copy-id chmod +x /usr/local/bin/ssh-copy-id