Remove key from known_hosts

Posted by Adam Matan on Super User See other posts from Super User or by Adam Matan
Published on 2009-08-26T16:00:30Z Indexed on 2010/04/24 16:53 UTC
Read the original article Hit count: 365

Filed under:
|
|
|
|

Hi,

I have built several virtual machines during the last few weeks. The problem is, the .ssh/known_hosts gives me the Man in the middle warning. This happens because another fingerprint is associated with the virtual machine IP.

In the .ssh/known_hosts file, however, I don't seem to find the record related to the IP, only two bizarre, key-like strings and "ssh-rsa".

Any ideas how to remove the old key from known_hosts?

Thanks,

Udi

© Super User or respective owner

Related posts about ssh

Related posts about openssh