Clear Putty's Cache

webmaster's picture

For all those of you who have been trying to clear Putty’s cache of host fingerprints (Windows) for development or testing, here is the answer:

The best way to do it, type in the command line in the same folder as putty.exe

putty -cleanup

Another way using delete registry key by force:

1. Open the registry (regedit)
2. Go to HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys

There you should see Putty’s cache of host keys.
The ‘name’ column tells you which key is for which server.

For example, it will have the format of <algo>@<port>:<host> [rsa2@22:]

3. Delete the rows that you need

That’s all there is to it.



LEMURSOLUTION - Technical articles