Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2001 21:18:44 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        George.Giles@mcmail.vanderbilt.edu, security@FreeBSD.ORG
Subject:   Re: SSH login delay 
Message-ID:  <83207.985720724@critter>
In-Reply-To: Your message of "Tue, 27 Mar 2001 14:13:46 CDT." <p05010400b6e69651daed@[128.113.24.47]> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <p05010400b6e69651daed@[128.113.24.47]>, Garance A Drosihn writes:
>At 8:03 AM -0600 3/27/01, George.Giles@mcmail.vanderbilt.edu wrote:
>>Does any one know what causes the long delay between entering
>>the password to ssh and the actual logging in of the shell prompt ?
>>
>>Sometimes it takes more than a minute when I know it is not
>>network speed ?
>
>When I've seen this, it is sometimes caused by problems in
>reverse-DNS resolution.  If you're going from machine A to
>machine B and it is slow, then once you are on machine B
>try to DNS lookups on the IP address of machine A.

It can also be caused by lack of randomness in which case sshd
seems to fall back to a lot of gettimeofday() calls.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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




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