How do I tell if Putty already knows about and has cached credentials for specific ssh servers?
Another way to ask this question is what is the Windows/Putty equivalent of a unix/ssh known_hosts file?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
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.
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeyslocation - location
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
As was mentioned before Putty stores SSH host keys in registry
I've written about how to copy SSH host keys between different users/machines here http://isbyr.com/copy-putty-ssh-hosts-keys-different-usersmachines-windows/