Archive for June 23, 2012

Mac OSX SSH Host key verification failed

I had a situation when I tried to SSH into one of the server, I received the error message below. Basically the server had generated a new SSH RSA host key that doesnt match with the old one stored on my MacBook Pro.

;

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
 21:79:38:2d:2c:3d:f0:08:5d:e5:a6:a0:3f:af:a1:0a.
 Please contact your system administrator.
 Add correct host key in /Users/root/.ssh/known_hosts to get rid of this message.
 Offending key in /Users/root/.ssh/known_hosts:7
 RSA host key for x.x.x.x has changed and you have requested strict checking.
 Host key verification failed.

;

Read more

Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: