Search Ali's Blog

Tuesday, September 28, 2010

SSH Host key verification failed

If you keep getting this annoying SSH failure:


I used to edit known_hosts file and remove the record that coresponds to the remote host IP,
a simpler way is to run the command:
# ssh-keygen -R REMOTE_IP

1 comment:

Anonymous said...

This doesn't seem to work for me. I get a
"/home//.ssh/known_hosts updated."
message but if I retry I still get the "REMOTE HOST IDENTIFICATION HAS CHANGED!" warning

-Yehonatan