Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2001 23:58:16 -0400
From:      Devin Smith <devin-smith@rintrah.org>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re(2): SSH Connection slow? 
Message-ID:  <20010826035816.31719@mail.rintrah.org>
In-Reply-To: <200108250404.f7P441w65664@grumpy.dyndns.org>
References:  <200108250404.f7P441w65664@grumpy.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>Joseph Koenig writes:
>> I recently installed FreeBSD 4.3 on a new server and any ssh connections
>> are slow. It takes about 5-10 seconds for the username/password box to
>> pop up. Once I enter the information, it takes about 5 seconds for the
>> login to finish and for me to be able to see anything in my terminal. Is
>> there any reason for this? This connection is being done over a local
>> network, so network lag really shouldn't be a problem. Any ideas? Thanks,
>
>That's about right for a 5x86/133. Once the connection is made the 
>encryption tasks are lesser. Run "systat -v" in an ssh window while you 
>open another to the same machine. You'll see a CPU utilization spike.
>
That sounds a bit off to me. I had a similar problem when I misconfigured
djbdns on my server which were cleared up when I got all hosts (and the
name servers) to resolve themselves properly. You might want to go over
your DNS setup. A quick test would be to disable DNS entirely on each
machine and rely on the hosts files. i.e. change each /etc/host.conf to
contain:

host
#bind


and each /etc/hosts to contain:

10.0.0.1                server.yourdomain     server
10.0.0.2               client.yourdomain         client


--devin smith


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010826035816.31719>