sshd hack

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



On 3/12/06, Ron Yorston <rmy@xxxxxxxxxxxxx> wrote:
> Scot L. Harris wrote:
> >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?
>
> The warning message tells you the line number of the entry in the
> known_hosts file:
>
>   Add correct host key in /home/rmy/.ssh/known_hosts to get rid of this message.
>   Offending key in /home/rmy/.ssh/known_hosts:22
>   RSA host key for localhost has changed and you have requested strict checking.
>   Host key verification failed.

They also add a "-F hostname" option to ssh-keygen that searches
known_hosts for lines matching a particular hostname (whether hashed
or not).

Josh Kelley

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux