2013年4月25日星期四

clean putty 's cache of host finger prints(翻译:清楚putty的指纹缓存)

Problem : When I use PuTTY or plink.exe to connect to a remote host that has the host key changed, then I get the following Error.

WARNING - POTENTIAL SECURITY BREACH!
The server's host key does not match the one PuTTY has
cached in the registry. This means that either the
server administrator has changed the host key, or you
have actually connected to another computer pretending
to be the server.
The new rsa2 key fingerprint is:
ssh-rsa 1024 a1:97:fa:4c:2a:88:93:ab:27:c9:aa:5f:cc:32:2e:08


Solution :

Clear Putty’s cache of host fingerprints (Windows).

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 @: [rsa2@22:YourhostIP]

3. Delete the rows that you need.

没有评论:

发表评论