ssh-copy-id

ssh-copy-id #

Copy public keys to a remote host’s ~/.ssh/authorized_keys file.

Not technically part of OpenSSH. Helper utility written as a drop-in replacement for an existing utility in OpenSSH.

Source - freebsd.org

Example usage:

ssh-copy-id -i ~/.ssh/id_ed25519.pub <user>@<IP Address>