On Wed, Apr 8, 2009 at 1:48 AM, Ken Teague <ketea...@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, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org