diff --git a/pages/common/ssh-keyscan.md b/pages/common/ssh-keyscan.md index a174d862b2..4b5d0d36c2 100644 --- a/pages/common/ssh-keyscan.md +++ b/pages/common/ssh-keyscan.md @@ -5,16 +5,16 @@ - Retrieve all public SSH keys of a remote host: -`ssh-keyscan {{host}}` +`ssh-keyscan {{hostname}}` - Retrieve all public SSH keys of a remote host listening on a specific port: -`ssh-keyscan -p {{port}} {{host}}` +`ssh-keyscan -p {{port}} {{hostname}}` - Retrieve certain types of public SSH keys of a remote host: -`ssh-keyscan -t {{rsa,dsa,ecdsa,ed25519}} {{host}}` +`ssh-keyscan -t {{rsa,dsa,ecdsa,ed25519}} {{hostname}}` - Manually update the SSH known_hosts file with the fingerprint of a given host: -`ssh-keyscan -H {{host}} >> ~/.ssh/known_hosts` +`ssh-keyscan -H {{hostname}} >> ~/.ssh/known_hosts`