unable to do ssh
HI,
In my lan environment i've configured a server with rhel5 and a desktop with fc12.I was unable to ssh between rhel5 & fc12 & vice versa. when i'm trying to login through ssh i was getting following error #ssh admin@x.x.x.x @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 b4:fc:8b:09:91:e6:7a:f9:ed:b0:98:da:68:f3:d2:04. Please contact your system administrator. Add correct host key in /home/admin/.ssh/known_hosts to get rid of this message. Offending key in /home/admin/.ssh/known_hosts:12 RSA host key for x.x.x.x has changed and you have requested strict checking. Host key verification failed. can any one help me regarding this. Thanks in advance. |
rm ~/.ssh/known_hosts
|
I tried with this then also i'm getting the same old error.
|
Are you accessing an address of a load balancer that goes to multiple machines? Or could the server you ssh to have some cron job that keeps updating the host key?
Instead of removing the known_hosts file, rename it sequentially numbered. When it happens again, compare the new file to the old one and see if there is a difference. If not, this will require new ideas about the cause. |
Quote:
Evo2. |
All times are GMT -5. The time now is 02:19 AM. |