1 Reply Latest reply on Mar 28, 2018 10:30 AM by jamesz08

    REMOTE HOST IDENTIFICATION HAS CHANGED

    niceguy001 Enthusiast

      okay, want to ask a stupid question...

      my esxi host has been re-installed so the authentication changed,

      when i use the command scp id_rsa.pub root@ESXisystem:/id_rsa-Client.pub to copy the rsa to this esxi,

      the error message occurred, as shown below:

       

      @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

      @    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 a host key has just been changed.

      The fingerprint for the RSA key sent by the remote host is

      f6:6e:d1:23:e8:d3:53:68:08:72:93:d6:78:ea:cd:ce.

      Please contact your system administrator.

      Add correct host key in /root/.ssh/known_hosts to get rid of this message.

      Offending RSA key in /root/.ssh/known_hosts:189

      RSA host key for 10.101.6.11 has changed and you have requested strict checking.

      Host key verification failed.

      lost connection

       

      the question is, how to add correct host key in  /root/.ssh/known_hosts ? just edit the file by vi?or?

      thanks in advance!