Re: editing "new" known_hosts files
On Sat, Jul 22, 2006 at 11:48:00PM +0200, LeVA wrote:
> I have reinstalled a server of mine, and now I need to remove it's old
> pubkey from my $HOME/.ssh/known_hosts, but it is in the "new" format,
> so no hostnames which may indicate which pubkey belongs to which host.
> How can I "decrypt" the known_hosts file?
You can't decrypt them, but you can delete all entries for a given
host with:
ssh-keygen -R host.name
See the manpage for ssh-keygen for details. (Search for "hash" to
see the relevent options.)
Steve
--
Debian GNU/Linux System Administration
http://www.debian-administration.org/
Reply to: