Warning remote host identification has changed !

De Ikoula Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

fr:Warning remote host identification has changed ! en:Warning remote host identification has changed! es:Aviso de identificación de host remoto ha cambiado! pt:Aviso de identificação do host remoto mudou! it:Avviso identificazione host remoto è cambiato! nl:Waarschuwing van de externe host-identificatie is veranderd! de: zh:警告远程主机标识已更改 ! ar:تحذير تحديد المضيف البعيد تغيرت! ja:リモート ホストの id を警告が変わりました! pl:Ostrzeżenie identyfikacji hosta zdalnego zmieniło! ru:Предупреждение идентификация удаленного хоста изменилось! ro:Avertizare de identificare remote gazdă a schimbat! he:אזהרה מארח מרוחק זיהוי השתנה!

Introduction

XXX.XXX.X.X correspond à votre adresse ip.

CRH1.png

Pourquoi ?

Lors d'une nouvelle tentative de connexion SSH et si les clés du serveur distant ont été modifiées, vous pouvez être amené à rencontrer ce message d'erreur : Warning : remote host identification has changed !
Le fichier known_hosts de notre utilisateur n'a pas été mis à jour suite au changement des clés.

Comment ?

Il faut mettre à jour le fichier known_hosts.
Vous pouvez le faire automatiquement avec la commande suivante qui retirera l'ancienne clé:

ssh-keygen –R XXX.XXX.X.X


Ensuite un message devrait apparaître :

CRH2.PNG

A l'aide d'un éditeur de texte (ex: nano, vi, ...), il sera aussi possible de supprimer la ligne qui correspond à la clé de l'hôte.
Après avoir tenté de se reconnecter, veuillez répondre par yes ou par no :

CRH3.PNG



Cet article vous a semblé utile ?

0


Vous n'êtes pas autorisé à publier de commentaire.