[Wylug-help] ssh problems in re-install

John Hodrien johnh at comp.leeds.ac.uk
Tue Feb 3 15:04:51 UTC 2009


On Tue, 3 Feb 2009, Anne Wilson wrote:

> After the problems I had last week I had to reinstall.  I copied back all my
> files from the temporary drive and crossed my fingers.  Most things are fine, but
> I have ssh problems.  It keeps telling me that the key on the server (the one
> that failed) has changed.  It's possible that the backup I used did not have
> the right key, but I doubt it.  Anyway, whatever the reason, I now need to
> sort it out.

If /etc/ssh/ssh_host* isn't as it was before the reinstall then you'll get
this.

> Is the best thing to remove the keys and known-hosts file, on both the client
> and server, then create new keys and start again?

Just remove it from known_hosts.  That's it.

jh

-- 
"I mean, if 10 years from now, when you are doing something quick and dirty,
  you suddenly visualize that I am looking over your shoulders and say to
  yourself, "Dijkstra would not have liked this", well that would be enough
  immortality for me."                                -- Edsgar Wybe Dijkstra



More information about the Wylug-help mailing list