Re: Adding Correct Host Key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yeah! I just did what the first guy said to do and it worked. All I
did was removed the IP and then I attempted another ssh connection and
it asked to exchange keys. I said "yes" and the connection was
established.


On Sun, 20 Feb 2005 18:47:04 +0100, Angelo Machils
<angelus@xxxxxxxxxxxxxxxxx> wrote:
> >
> >
> >I was wondering if anyone knew how to remove a host key and add a new
> >one to .ssh/known_hosts
> >
> >I just recently reinstalled FC3 on one of my systems. I previously had
> >an ssh connection established, but after I reinstalled I imagine it
> >was wiped away. So my question is...How do I re-establish my ssh
> >connection to that host?
> >
> >Is it as simple as going into .ssh/ and doing:
> >rm known_hosts
> >
> 
> Don't remove the whole file, only the line where the key is for that
> particular system. After your reinstall the system generated a new key,
> but in the known_hosts file on the system where you initiate the ssh
> connection there is still the old key. They don't match, so you don't
> connect :)
> 
> Regards, Angelo
> 
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux