macOS / binaries /

ssh-copy-id

/usr/bin/ssh-copy-id
Use locally available keys to authorise logins on a remote machine

ssh-copy-id is a script that uses ssh to log into a remote machine. It assembles a list of one or more fingerprints and tries to log in with each key, to see if any of them are already installed. It then assembles a list of those that failed to log in, and using ssh, enables logins with those keys on the remote server.

source: man