[CentOS] sshd hack

Sudev Barar sbarar at gmail.com
Sun Mar 12 01:35:16 UTC 2006

On 12/03/06, Scot L. Harris <webid at cfl.rr.com> wrote:
> I understand this with the authorized_keys file.  The original question
> was regarding the hashing of the known_hosts file.  In my experience
> there have been many times when I have had to remove entries in the
> known_hosts file due to the host key changing on a system.  My question
> was, if the known_hosts file is hashed how do you identify the entry for
> the particular host so it can be removed when needed?

Sorry, my comment was on general topic going on.

AFAIK you can not know unless you keep record of hosts additions. The
first host added is the first entry and so on. Since that is really a
pain so I just delete all entries. Then the first time you connect to
a server all you have to do is answer "yes" to addition of new host.
:-(      Keys stored will still work and you do not have to do
anything :-)

Sudev Barar
Learning Linux

More information about the CentOS mailing list