Hi all,
Server : Ubuntu Server 7.10
Client : Mac OSX
I've found this morning that I'm unable to ssh onto my local home server anymore. I have setup ssh on the server to be almost as tight as I thought possible, so it only accepts public key authentication (passwords off) and I have strict checking enabled.
Specifically the error msg is ...
Code:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.
Please contact your system administrator.
Add correct host key in /Users/<userid>/.ssh/known_hosts to get rid of this message.
Offending key in /Users/<userid>/.ssh/known_hosts:2
RSA host key for <servername> has changed and you have requested strict checking.
What I would like to know is can I see exactly what's changed (ie in what file) and what do I need to do to fix it please? If I have to create a new set of public/private key files then so be it but I guess I'm more interested to know what's changed and how it was changed.
I've checked my 'messages' and 'auth' log files on the server and apart from seeing a few of the usual external breakin attempts (which fail2ban seems to have handled) I don't see anything unusual, suspicious or anything suggesting the id has changed. (I certainly don't see any other successful logins apart from mine).
In terms of what I've done on the server recently, all I can think of is last weekend I added a new virtual machine (ubuntu 8.10) into my vmware server which is running on there. But that was last weekend and I have successfully sshd on to the server since then.
Can anyone offer any tips/advice where else I can look please (and any way to easily fix it)
Tks vm,