Windows with PuTTY
- Search for regedit.exe and open it.
- Navigate to HKEY_CURRENT_USER/SOFTWARE/SimonTatham/PuTTy/SshHostKeys.
- Right click the offending key and click delete.
How do I get rid of known host?
The above file has two lines. Using your favorite editor (e.g. vi ~/. ssh/known_hosts or notepad ~/. ssh/known_hosts ), simply delete the complete line which has the reference to the host you want to remove and save the file.
How do I remove an existing SSH key?
Go to System --> Preferences --> Startup Applications , and unselect the " SSH Key Agent (Gnome Keyring SSH Agent) " box -- you'll need to scroll down to find it. You'll still get an ssh-agent , only now it will behave sanely: no keys autoloaded, you run ssh-add to add them, and if you want to delete keys, you can.