Where does Putty store known_hosts information on Windows?
Putty stores known hosts under a registry key:
So in windows known_hosts for PuTTY is SshHostKeys.
that is stored at the
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys location. To reach that location, the
Registry Editor supposed to be used.
- go to start - look for
- then you will see all the directories on the left pane under computer
- just like this image says go to
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeyslocation - location
- then you can modify like you wish Known host options
- If needed you can check the content in the
SshHostKeysfile using this command
REG QUERY HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeysin PowerShell
And then the cache will be cleared. Will be everything new again for that particular entry