Update September, 1st 2014
The newer versions of port does not include the
ssh-copy-id package anymore, but you can still use it cloning this repo from Github: https://github.com/beautifulcode/ssh-copy-id-for-OSX
Hello everybody! I have some servers and always I have to login using SSH, but some passwords is very complex. So, you must copy your public key to the desired server and be happy.
Installing the command ssh-copy-id
I used to use mac ports to install packages on my Mac, so: sudo port install ssh-copy-id Now you have the command installed on
/opt/local/bin/ssh-copy-id. Just create a symbolic link to that:
sudo ln -s /opt/local/bin/ssh-copy-id /usr/bin/ssh-copy-id