Does osx not use Openssh Package? On Fedora here so had always wondered why all these setup guides included this step.. the osx thing might explain it.
Probably because the top Google result tells you to do it the way explained in this article. I did it that way for years before finding out about ssh-copy-id.
In a lot of environments, the SSH servers are listening on some non-standard port. I don't see an option in ssh-copy-id to specify the SSH server port.
Some other things about ssh that everyone knew but me (until I found out):
-scp supports bash completion for files on the server if you use a key pair.
-Keychain (http://www.funtoo.org/Keychain) makes having a password on your private key less of a hassle by prompting for your password when you first log in to your local account and using that when you ssh. (ssh-agent alone is similar but requires your password for every new login session).
This probably isn't to difficult to implement, hell I could even try to write something like that right now and put it on github. (I would have simply sent you an email but you don't have one in your profile)
EDIT: You will need python3 since I used input(), and this probably is my first python script so it's a bit messy:
16 comments
[ 2.9 ms ] story [ 43.0 ms ] threadssh-copy-id user@server
Edit: Add more info
i always use it myself, so much more comfortable
Just do: brew install ssh-copy-id
https://github.com/emre/storm
Some other things about ssh that everyone knew but me (until I found out):
-scp supports bash completion for files on the server if you use a key pair.
-Keychain (http://www.funtoo.org/Keychain) makes having a password on your private key less of a hassle by prompting for your password when you first log in to your local account and using that when you ssh. (ssh-agent alone is similar but requires your password for every new login session).
EDIT: You will need python3 since I used input(), and this probably is my first python script so it's a bit messy:
https://gist.github.com/anonymous/e13d3d743c77bc1e39e6