Erreur lors de l'envois par ssh

Résolu/Fermé
yuri648 Messages postés 677 Date d'inscription mardi 30 décembre 2008 Statut Membre Dernière intervention 20 mai 2015 - 11 mai 2011 à 15:37
yuri648 Messages postés 677 Date d'inscription mardi 30 décembre 2008 Statut Membre Dernière intervention 20 mai 2015 - 11 mai 2011 à 22:19
Bonjour,

je tente a envoyer un fichier avec ssh dans le reseau , je recois cette erreur

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
f1:61:40:ca:64:5d:30:bb:4d:5f:04:bf:2f:27:90:3c.
Please contact your system administrator.
Add correct host key in /home/yuri/.ssh/known_hosts to get rid of this message.
Offending key in /home/yuri/.ssh/known_hosts:4
RSA host key for 192.168.1.102 has changed and you have requested strict checking.
Host key verification failed.
lost connection


j'ai compris que la clé a changé dans le serveur mais comment regler ce probleme?

merci


1 réponse

rescue Messages postés 1039 Date d'inscription vendredi 16 novembre 2007 Statut Contributeur Dernière intervention 27 mars 2019 136
11 mai 2011 à 16:21
Bonjour,

1 - Renomme ton fichier known_hosts en _known_hosts
2 - relance ta connexion.
3 - prend la clef du nouveau fichier known_hosts
4 - colle et remplace dans celui qui a été renommé.

Sinon tu gardes ton nouveau fichier known_hosts
Et tu supprimes celui qui a été renommé.

@+
0
yuri648 Messages postés 677 Date d'inscription mardi 30 décembre 2008 Statut Membre Dernière intervention 20 mai 2015 7
11 mai 2011 à 22:19
merci de me repondre
j'ai tout supprimé dans le repertoire .ssh et j'ai crée des nouvelles clés et sa marché

merci
0