Subject: Re: really long lag when ssh'ing in
To: None <netbsd-help@netbsd.org>
From: Andrew Gillham <gillham@vaultron.com>
List: netbsd-help
Date: 03/11/2003 01:01:12
On Tue, Mar 11, 2003 at 09:35:18AM +0100, Peter Bex wrote:
> On Tue, Mar 11, 2003 at 12:28:55AM -0800, Bsd Neophyte wrote:
> > whever i try ssh'ing into my netbsd box, i have to endure a very log
> > period lag. it takes about two minutes before i see the prompt.
> >
> > i don't know if it matters, but i have the host ip address in the hosts
> > file.
> >
> > how can i get rid of this lag period?
>
> I have the same problem (also with the hosts entry). Sometimes it's faster
> though. I always thought it was the computer speed. I'm running NetBSD on a
> Mac Quadra so that wouldn't be strange ;)
Try doing the following on your NetBSD box:
# mv /etc/resolv.conf /etc/resolv.conf.not
# /etc/rc.d/sshd restart
If this makes ssh fast then the problem is the reverse DNS lookups.
-Andrew