To copy a key to a remote host: ssh-copy-id username@host To copy a key to a remote host on a non-standard port: ssh-copy-id username@host -p 2222