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

Re: Disabling RSA host key check temporarily



On Wed, Apr 8, 2009 at 1:48 AM, Ken Teague <keteague@gmail.com> wrote:
> Dotan Cohen wrote:
>> Offending key in /home/hardy1/.ssh/known_hosts:28
>> RSA host key for 192.168.0.100 has changed and you have requested
>> strict checking.
>
> Your invalid host key is on line #28.  Edit said file in vi and :28 to jump
> to that line.  Hit dd to remove the line then :wq.  Make a backup before
> doing any of this.

Or you can use sed:

$ sed -i '28d' ~/.ssh/known_hosts

Regards,


Reply to: