Friday, May 27, 2016

Installing ssh-copy-id on Mac OS X using MacPorts

Ssh-copy-id is a script used to add your public key to remote server, so next time you connect to that remote server, it would be passwordless (unless, of course, if you put a paraphrase when generate your public key).

Most simple way is by using MacPorts:
$ sudo port install openssh +ssh-copy-id
That's it! And you ready to use it :)