[techtalk] ssh slow login

David Merrill david at lupercalia.net
Thu May 17 12:56:56 EST 2001


On Thu, May 17, 2001 at 03:40:55PM +1200, Jamie Walker wrote:
> On Wed, May 16, 2001 at 11:26:36PM -0400, David Merrill wrote:
> 
> > When I ssh into this box, it sometimes takes 20-30 seconds for the
> > login prompt to come up. Does anyone know why it would take this long
> > to display a login prompt over a LAN? The machine has almost no load
> > on it.
> 
> It's trying and failing to do a DNS lookup on the host you're connecting 
> from.
> 
> A quick way around it is to add the IP address of that machine to 
> /etc/hosts on the machine you're connecting to.

Yep, that was it. Thanks!

-- 
Dr. David C. Merrill                     http://www.lupercalia.net
Linux Documentation Project                   david at lupercalia.net
Collection Editor & Coordinator            http://www.linuxdoc.org
                                       Finger me for my public key

In a display of perverse brilliance, Carl the repairman mistakes a room
humidifier for a mid-range computer but manages to tie it into the network
anyway.
		-- The 5th Wave




More information about the Techtalk mailing list