I 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 find the record related to the IP, only two bizarre, key-like strings and "ssh-rsa".
Does anyone have any ideas about how to remove the old key from known_hosts
?
HashKnownHosts yes
set.