known_hosts

0001-01-01

The known_hosts file stores a list of SSH hosts and their public keys connected to by an OpenSSH client.

This is used to verify that the endpoints are who they say they are. If the stored data on disk differs from what a remote server of the same hostname/IP address is saying, a large warning banner is displayed, warning the client that the keys differ. This is intended to prevent man in the middle or impersonation attacks.