Detail
Shows SSH hostkeys.
Shows the target SSH server's key fingerprint and (with high enough verbosity level) the public key itself. It records the discovered host keys in nmap.registry for use by other scripts. Output can be controlled with the ssh_hostkey script argument.
You may also compare the retrieved key with the keys in your known-hosts file using the known-hosts argument.
The script also includes a postrule that check for duplicate hosts using the gathered keys.
Solution Advice
Necessary restrictions can be taken for the relevant ssh server
Get AI-powered remediation steps tailored to your asset.
Try AI Solutions →