I was trying login to a remote host via ssh and due to a known change it
gave me the usual error that the host key had changed and text about
spoofing and MITM attack. After some man-page reading I found ssh-keygen
and it had options to remove a host from the known hosts file.
I was able to remove the entry for the host in question with ssh-keygen.
However, ssh-keygen gives me the exact same output if I try to do it
again even though the host does not exist in the file (same output with
-v flag). Shouldn't it give a more informative output like: host entry
not found in known_hosts file? Or am I missing something.