SSH clients, by default, store the key fingerprint of the SSH servers that it has connected to. It creates a list of known hosts, and the server's key fingerprint is checked against the stored copy every time it establishes a connection.

You'll get a warning and the connection aborted if the server's key fingerprint does not match the one locally stored. It prevents you from connecting to a wrong or rogue server, but if you know it's the correct server, you'll have to update the stored known host's SSH key fingerprint to proceed.

OpenSSH clients on Linux and other Unix-based operating systems store the key fingerprints in ~/.ssh/known_hosts file while PuTTY in Windows stores this information in the system registry.

Steps to update or delete known host fingerprint for PuTTY on Windows:

  1. Launch Registry Editor by running regedit from the search bar.
  2. Click Yes to allow registry editor to make changes to the system.
  3. Navigate to ComputerHKEY_CURRENT_USERSoftwareSimonTathamPuTTYSshHostKeys from the tree list.
  4. Double-click on the key from the list to see more details.
  5. Edit key value to update as necessary and click OK to save.
  6. Right click on the key from the list and click on Delete to delete the host key fingerprint.
  7. Click Yes to confirm the deletion.
Discuss the article:

Comment anonymously. Login not required.

Share!