ssh-copy-id [1] is a script to copy one's SSH keys to remote hosts,
ensuring that ~/.ssh and authorized_keys are created with correct
permissions. The script uses ssh(1) to log into a remote machine (using
a login password).
This script is available in portable OpenSSH [2] and is installed on
many (most?) Linux distributions, macOS, and from a different source
[3], in FreeBSD.
Would ssh-copy-id from [1] likely be accepted as a port if I attempted
to undertake the task?
-JP
[1] http://git.hands.com/ssh-copy-id
[2] https://github.com/openssh/openssh-portable/tree/master/contrib
[3] from the man page: The ssh-copy-id utility was written by Eitan
Adler <ead...@freebsd.org> as a drop-in replacement for an existing
utility included with OpenSSH.