[PLUG] de-hashing entries in known_hosts file?

Brent Rieck bsr at spek.org
Sat Apr 14 04:54:06 UTC 2007


Jason Martin wrote:
> On 4/13/07, Brent Rieck <bsr at spek.org> wrote:
>>    Is it possible to reverse the hashing in the ~/.ssh/known_hosts file?
> 
> The values in there are the public keys of the known hosts, not
> hashes.  What are you trying to get out of it?

I had the HashKnownHosts option set to "yes", apparently it's an Ubuntu 
default, so the host names are a hash according to the documentation.  A 
server I talk to has changed its host key so I'd like to update the 
known hosts file but I can't tell what line it is in my known_hosts file.

--Brent



More information about the PLUG mailing list