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

Bug#212518: may upstream can take a look at Debian bugs like this



Please unsubscribe openssh@openssh.com from this PR. Colin is the best 
person to decide whether this is reported upstream or not.

Also, you are wrong: the correct action is not to delete the host key. In
fact, that is potentially very dangerous.

Furthermore, an automated tool to delete keys from known_hosts already
exists. I bet if you read some manpages then you will find it.

On Thu, 1 Jul 2010, jidanni@jidanni.org wrote:

> found 212518 1:5.5p1-4
> retitle 212518 "Add correct host key" message should say "delete the host key" instead
> thanks
> 
> Well if after
> 
>   Add correct host key in /home/jidanni/.ssh/known_hosts to get rid of this message.
>   Offending key in /home/jidanni/.ssh/known_hosts:2
> 
> there will be no instructions on what command one should use to do that,
> then that message should be changed to
> 
>   Delete the host key in /home/jidanni/.ssh/known_hosts to get rid of this message.
>   Offending key in /home/jidanni/.ssh/known_hosts:2
>   Use:
>   ed /home/jidanni/.ssh/known_hosts<<!
>   2d
>   wq
>   !
>   if indeed ed is installed on your system.
> 
> Or something, anything, better. Maybe there is a tailor made command one can use.
> 
> Maybe
> 
>    ssh --reset-my-key example.com
> 
> or something.
> 



Reply to: