Friday 18 March 2016

Acquia Offending RSA key in */.ssh/known_hosts:5 Message

When trying to run a drush command I got the following error.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 RSA key sent by the remote host is
*
Please contact your system administrator.
Add correct host key in *.ssh/known_hosts to get rid of this message.
Offending RSA key in *.ssh/known_hosts:5
RSA host key for * has changed and you have requested strict checking.
Host key verification failed.


More than likely it's just been a change on the server and nothing to panic about. 

If you remove the file ‘known_hosts’ from  >Users>you>.ssh   folder , the next time you run a command you'll get to choose whether to add to your know host list .

No comments: