[SSH] Sé débarasser de .ssh/known_hosts pour " WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!"
Par david techer, samedi 18 juin 2011 à 19:06 :: Mon réseau et compagnie... :: #809 :: rss
1. LE PROBLEME
Tous les admins connaissent cet infâme situation lors d'une connexion en SSH (vraiment casse-couille)@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 c0:69:25:fb:24:a6:6f:3f:01:77:69:27:a3:5f:83:e1 Please contact your system administrator. Add correct host key in /root/.ssh/known_hosts to get rid of this message. Offending key in /root/.ssh/known_hosts:26 Password authentication is disabled to avoid man-in-the-middle attacks. Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks Permission denied (publickey,password).
2. LA SOLUTION
Ajouter ces deux lignes dans le fichier/etc/ssh/ssh_config
Host * ..... ..... StrictHostKeyChecking no UserKnownHostsFile /dev/null
SOURCE: http://linuxcommando.blogspot.com/2008/10/how-to-disable-ssh-host-key-checking.html
Commentaires
1. Le vendredi 29 juillet 2011 à 11:16, par jul
2. Le samedi 30 juillet 2011 à 12:53, par david techer
3. Le mercredi 16 novembre 2011 à 21:50, par xlpharmacy
Ajouter un commentaire
Les commentaires pour ce billet sont fermés.