Adding Correct Host Key

Gene Heskett gene.heskett at verizon.net
Sun Feb 20 17:18:02 UTC 2005


On Sunday 20 February 2005 11:49, Manny 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

Better to just edit the file and remove the line containing the old, 
now invalid key.  Then it will ask you if you want to procees with 
the new key, answer yes & you'll be in business.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.33% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.




More information about the fedora-list mailing list