HashKnownHosts
HashKnownHosts is a configuration option used by the OpenSSH client to control how host identifiers are stored in the user’s known_hosts file. When enabled, the client writes a hashed form of the host’s identifier instead of the plain hostname. The purpose is to protect privacy by making it harder for other local users to determine which hosts you have connected to, should they gain access to your known_hosts file. The hashing does not affect the verification of the host key during subsequent connections.
How it works in practice: with HashKnownHosts set to yes, new entries in known_hosts are written as
Security and usage considerations: hashing improves privacy on multi-user systems or shared workstations by reducing exposure
Configuration: HashKnownHosts is an OpenSSH client option. It can be set in the global ssh_config or in