Updating known_hosts SSH Keys
Hey,
I was recently connecting from one host to another via ssh, and 
the remote host's host key had changed.  I was expecting this 
change (I made it myself in fact), so naturally I just wanted to 
connect anyway, despite the warning that SSH gave me, and update 
my known_hosts file.
I could not find a graceful way to do this.  After hacking 
around enough, I noticed that SSH told me which line of my 
known_hosts file contained the old key.  I just removed that 
line and voila.  But I was anticipating some pretty command or 
command-line option for ssh that would replace the key 
automatically.  Is there any such option?  Or does everyone out 
there basically do what I did?
Thanks,
- GM
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.7/619 - Release Date: 1/7/2007 6:29 PM
Reply to: