[CentOS] how to debug ssh slow connection issues.

Sun May 25 18:02:06 UTC 2008
Jason Pyeron <jpyeron at pdinc.us>


> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Filipe Brandenburger
> Sent: Friday, May 23, 2008 8:55 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] how to debug ssh slow connection issues.
> 
> Try to change this in your /etc/ssh/sshd_config:
> 
> 
> Change:
> 
> UseDNS yes
> to:
> UseDNS no
> 

Okay that fixed it, but why? I used nslookup and set my server to the same
as /etc/resolv.conf. There were no delays, at all all of our class C
resolves both ways (and matching) same as out private net.

Where to go next on "properly" fixing this sshd/dns issue?


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited.