ssh-copy-id for OSX

ssh-copy-id is a handy shell script which allows you to easily copy your public key to a remote server, so that you don’t need type in password every time you take SSH connection into that box. Ubuntu and the latest Linux distros ship ssh-copy-id with the ssh client installation. However, for OSX you need to manually drop this little script into your /usr/bin.

The usage is simple. Just run:

ssh-copy-id remotebox.com

to copy your public SSH key to remotebox.com. After that

ssh remotebox.com

shoud ask no password.

Working installation instructions for ssh-copy-id on OSX are in Chris Pitzer’s blog.

\"\" Subscribe to RSS feed Follow me on Twitter Follow me on Facebook Follow me Google+

Leave a Reply

Your email address will not be published. Required fields are marked *