Error al conectar a servidor SSH

Seguramente al conectarte a algun servidor SSH te has encontrado con este 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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
5a:54:4b:50:b9:a7:51:78:80:8f:05:56:09.
Please contact your system administrator.
Add correct host key in /home/alex/.ssh/known_hosts to get rid of this message.
Offending key in /home/alex/.ssh/known_hosts:1
RSA host key for 192.168.0.103 has changed and you have requested strict checking.
Host key verification failed.

La solucion sencilla cuando tienes un solo servidor SSH es borrar el archivo known_hosts

$ rm ~/.ssh/known_hosts

Listo, ahora te puede conectar sin problemas.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.