As of openssh 1:5.6p1-2ubuntu3 (natty) at least the the ssh-keygen -R trick has been added.
andreas@stilgar:~$ ssh lucy
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
d1:1b:19:4c:2d:51:b0:18:e2:e4:c3:19:ad:9c:24:9d.
Please contact your system administrator.
Add correct host key in /home/andreas/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/andreas/.ssh/known_hosts:175
remove with: ssh-keygen -f "/home/andreas/.ssh/known_hosts" -R lucy
RSA host key for lucy has changed and you have requested strict checking.
Host key verification failed.
andreas@stilgar:~$
As of openssh 1:5.6p1-2ubuntu3 (natty) at least the the ssh-keygen -R trick has been added.
andreas@stilgar:~$ ssh lucy @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@ @@@ 4c:2d:51: b0:18:e2: e4:c3:19: ad:9c:24: 9d. .ssh/known_ hosts to get rid of this message. .ssh/known_ hosts:175 andreas/ .ssh/known_ hosts" -R lucy
@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
d1:1b:19:
Please contact your system administrator.
Add correct host key in /home/andreas/
Offending RSA key in /home/andreas/
remove with: ssh-keygen -f "/home/
RSA host key for lucy has changed and you have requested strict checking.
Host key verification failed.
andreas@stilgar:~$