[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSH takes ages to authorise



On Wed, 27 Jun 2001, Greg Rowe wrote:

> I saw this same problem as well.  It is as you suspected, DNS.  Since I
> had a name server on my masqed network I just created a reverse zone and
> all was well.  There must be a way to prevent ssh from doing reverse
> lookups but I don't know what that option is...

make sure ReverseMappingCheck is set to no in /etc/ssh/sshd_config

cheers

dc


> 
> On Wed, 27 Jun 2001, Nik Makepeace wrote:
> 
> > When I connect to my Debian potato machine using ssh (via Putty) protocol 1
> > or 2, after I have entered the correct password, it takes ages (about 10
> > seconds, although sometimes much more) to complete the authorisation process.
> >
> > Looking at top while this is happening shows sshd using about 2% for the
> > duration.
> >
> > Using Putty top connect to my other Debian (woody) box results in a near
> > instantaneous connection, and using this woody machine to ssh to the potato
> > machine results in a near instantaneous connection:
> >
> > Windows -> potato : slow
> > Windows -> woody : fast
> > woody -> potato : fast
> > potato -> woody : fast
> >
> > I suspect it might be a DNS lookup thing; my windows machine is masq'd by
> > the potato machine.  Perhaps it is trying to do a reverse lookup on
> > 192.168.1.2?
> >
> > Any suggestions appreciated - 10 seconds is not so long to wait for a
> > login, but it can feel like eternity!
> >
> > Nik
> >
> >
> >
> 
> -- 
> Greg Rowe
> Paranoia is a virtue.
> http://www.therowes.net
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

--------------------------------------------------------
Today people in droves hurry up past Heumoz to Villars 
on the road to the ski hills, so they can rush down them
as fast as possible, so they can hurry up again in order
to rush down again.  In a way this is funny,...

			Francis A Schaeffer

David Purton

http://www.chariot.net.au/~dcpurton/
dcpurton@chariot.net.au



Reply to: