Getting error : [WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!]

13 views
Skip to first unread message

JITEN PATEL (RIT Student)

unread,
Feb 11, 2012, 5:56:34 PM2/11/12
to protoge...@googlegroups.com
Hi,

I've reserved below two nodes from pgeni.gpolab.bbn.com aggregate. Both nodes are connected to each other with LAN.

pc2.pgeni.gpolab.bbn.com
pc7.pgeni.gpolab.bbn.com

I'm able to ssh successfully into pc2 but I get below error when I try to ssh into pc7.

jiten@jiten-VirtualBox:~$ ssh -l jp pc7.pgeni.gpolab.bbn.com
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 DSA key sent by the remote host is
a8:29:cc:a0:0b:d6:29:b6:5e:34:11:ab:ff:8f:87:9c.
Please contact your system administrator.
Add correct host key in /home/jiten/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/jiten/.ssh/known_hosts:5
  remove with: ssh-keygen -f "/home/jiten/.ssh/known_hosts" -R pc7.pgeni.gpolab.bbn.com
DSA host key for pc7.pgeni.gpolab.bbn.com has changed and you have requested strict checking.
Host key verification failed.
jiten@jiten-VirtualBox:~$


Anyone has any idea about this error?

--


Thanks & Regards,

Jiten Patel
Graduate Student,
Computer Science Department,
1 Lomb Memorial Drive
Rochester, NY 14623-5603.
Cell Phone: (302)-743-2658


Aaron Rosen

unread,
Feb 11, 2012, 6:10:00 PM2/11/12
to protoge...@googlegroups.com
The error message says that the ssh key the machine is using has
changed. This error message it to warn you in case this is a man in
the middle attack. It's probably not though. The ssh key has probably
changed on this machine since the last time you have ssh'ed to it
(since you probably have reinstalled it, since the first time you
sshed).

In order to fix this delete the 5th line of text from
/home/jiten/.ssh/known_hosts .

Aaron

JITEN PATEL (RIT Student)

unread,
Feb 11, 2012, 6:30:55 PM2/11/12
to protoge...@googlegroups.com
Thanks Aaron. I executed below command to remove that entry from known_hosts file and now I'm able to access it.


ssh-keygen -f "/home/jiten/.ssh/known_hosts" -R pc7.pgeni.gpolab.bbn.com


Reply all
Reply to author
Forward
0 new messages