Erreur lors de l'envois par ssh

Résolu
yuri648 Messages postés 785 Statut Membre -  
yuri648 Messages postés 785 Statut Membre -
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

  1. rescue Messages postés 1047 Statut Contributeur 136
     
    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
    1. yuri648 Messages postés 785 Statut Membre 7
       
      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