Operating System - Linux
1833873 Members
2556 Online
110063 Solutions
New Discussion

errors when I ssh to a server with openssh 3.8

 
Hanry Zhou
Super Advisor

errors when I ssh to a server with openssh 3.8

Hi,

Got following message when I ssh to another 11.0 server, please let me know. thanks,


$ ssh anotherserver

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
85:74:ac:d8:18:c3:40:d6:99:03:13:4c:1b:6f:0f:fc.
Please contact your system administrator.
Add correct host key in /home/peir/.ssh/known_hosts to get rid of
this message.
Offending key in /home/peir/.ssh/known_hosts:2
RSA host key for odin2 has changed and you have requested strict
checking.
Host key verification failed.

none
3 REPLIES 3
Bruce Copeland
Trusted Contributor

Re: errors when I ssh to a server with openssh 3.8

Has there been any major configuration changes of the login you are using on the remote server?

I saw this message recently when I installed (rather than upgraded to) Fedora from a box that had been running Red Hat 8. (I needed to install rather than upgrade so that I could set up LVM.) Since I had saved all the original /etc, /home, /var/lib, etc from the Red Hat 8 installation, I simply copied the old /home/bruce/.ssh directory to the new /home/bruce and everything was fine again.

So the question is has anything happened to your remote login or its .ssh directory recently? Otherwise, your login may have been hacked.

Bruce
Jeroen Peereboom
Honored Contributor

Re: errors when I ssh to a server with openssh 3.8

Hanry,

apparently the sshdaemon has created a new RSA key. A new installation of sshd on the server? Remove the old host key from known_hosts, and ssh again.

JP.
U.SivaKumar_2
Honored Contributor

Re: errors when I ssh to a server with openssh 3.8

Hi ,

The public key in the ssh server in the server is different compared with the previously issued public key by the same ssh server.

The possibilities are key regenerated in ssh server or ssh server reinstalled or fake keys due to ssh server compromise.

regards,

U.SivaKumar.


Innovations are made when conventions are broken