ssh-copy-id

Install your public key in a remote machine's authorized_keys. Copy…

ssh-copy-id

Install your public key in a remote machine's authorized_keys.

ssh-copy-id {{username@remote_host}}

ssh-copy-id -i {{path/to/certificate}} {{username}}@{{remote_host}}

ssh-copy-id -i {{path/to/certificate}} -p {{port}} {{username}}@{{remote_host}}

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← ssh-agent sshd →