Page 1 of 1

How to clear host key cache

Posted: 2019-02-15 01:24
by pcowley
When connecting to an sftp server through Filezilla for the first time, I mistakenly accepted the server's unknown host key as trusted and added it to the cache, without checking the fingerprints against fingerprints acquired out of band. It turns out that the fingerprints do match. Therefore the server's host key should be changed from trusted to UNTRUSTED.

How can I nuke FileZilla's cache of trusted host keys? (Preferably without requiring me to uninstall/reinstall)

I am aware that there is a similar thread at viewtopic.php?t=23184 , but that thread contains obsolete information (I have no registry key with the name "SimonTatham" anywhere), and also that thread is locked.

Re: How to clear host key cache

Posted: 2019-02-15 07:57
by botg
The information from the linked thread is still valid. The accepted host keys are saved in HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys

Re: How to clear host key cache

Posted: 2019-02-16 01:39
by pcowley
You're right, I'm sorry. I don't know what I did wrong before, but that key is indeed there in my registry.

Thank you.