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

Bug#324891: openssh-client. strange lines in known_host



On Sat, Dec 24, 2005 at 03:12:29AM +0000, Adam M. Costello wrote:
> Occasionally a host key changes (like when the machine is reinstalled),
> and users need to be able to remove the corresonding line from
> known_hosts.  Now that the hostnames are hashed, that's difficult.

In fact it's easier than it was before hashing was implemented. See the
ssh-keygen(1) man page.

> OpenSSH supposedly comes with utilities remove-knownhost and ssh-showkey
> for dealing with this.

I've never heard of those utilities, and don't see them in Portable CVS.
Use ssh-keygen.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]




Reply to: