Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Inside SSH, Part 1
Subject:   Remote host has changed?
Date:   2004-07-09 17:45:38
From:   ijak
.



Hello,



I used to have this work when I was using Mac OSX 10.3.4 client. I have recently installed Mac OSX 10.3.4 Server on that same machine. ... Now when I try to connect, the terminal window starts to conect, then closes very fast. ... I did notice that there was writing in the window. I tried several times and eventually captured a SnapzPro image of the window. ...



What the window says is ...

----------------------------

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 is

05:47;and a bunch more key stuff.

Please contact your System Administrator.
Add correct host key in Users/You/.ssh/known_hosts to get rid of this message.

---------------------------



I could do that, if I knew what to do. ...



What would be the propper thing to do in that known_hosts file?
Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Remote host has changed?
    2004-07-09 18:55:10  jamie_young [View]

    Delete it:
    $ rm ~/.ssh/known_hosts

    That file will rebuild itself. Basically all that is saying is that something has changed since the last time you connected to the host you were attempting to connect to.

    • Remote host has changed?
      2004-07-10 08:23:48  ijak [View]

      .
      Thanx.
      Works fine now.
      • Remote host has changed?
        2005-04-12 07:42:16  Graz34 [View]

        I had the same exact behavior, but after I deleted the known_hosts file from /users/admin/.ssh/, it did NOT recreate itself. Did you have to do anything for the file to regenerate?