Hello List,

For what it is worth, I always use the variant:

vi /root/.ssh/known_hosts +4

which will take you directly to the line after the "+" symbol. Then
proceed with the  dd and wq as Jay mentioned.


On Wed, 2009-01-21 at 14:02 -0500, Robert J Brenneman wrote:
> or:
> vi /root/.ssh/known_hosts
> Type ':4' (no quotes) to goto line 4
> Press dd to delete line 4
> Type ':wq' (no quotes)
>
> When your known_hosts gets beyond 30 entries the arrow keys don't cut
> it anymore.
>
> --
> Jay Brenneman
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to