ssh-keyscan

Get the public ssh keys of remote hosts. Retrieve all…

ssh-keyscan

Get the public ssh keys of remote hosts.

ssh-keyscan {{host}}

ssh-keyscan -p {{port}} {{host}}

ssh-keyscan -t {{rsa,dsa,ecdsa,ed25519}} {{host}}

ssh-keyscan -H {{host}} >> ~/.ssh/known_hosts

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