Logo
You
Code

SSH Host key verification failed

Autor YouCode - http://www.youcode.com.ar/linux/ssh-host-key-verification-failed-326

Solución a este error que no es nada mas que la key cambio en el servidor donde queremos conectarnos, aqui la solucion en un simple comando

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 Please contact your system administrator. Add correct host key in /home/user/.ssh/known_hosts to get rid of this message. Offending key in /home/user/.ssh/known_hosts:1 RSA host key for ras.mydomain.com has changed and you have requested strict checking. Host key verification failed. - See more at: http://blog.unelink.es/wiki/linux/error-al-conectar-por-ssh-a-una-ip-host-key-verification-failed/#sthash.2JYnBmeT.dpuf
ssh-keygen -R <IP SERVIDOR AL QUE SE PRETENDE CONECTAR>
con esto se soluciona el problema.
 
http://www.youcode.com.ar/linux/ssh-host-key-verification-failed-326