Re: ssh slow

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



On 5/6/10 10:20 AM, "Tait Clarridge" <tait@xxxxxxxxxxxx> wrote:
> On Thu, 2010-05-06 at 16:39 +0100, Khusro Jaleel wrote:
>> I've found that if I'm on an Ubuntu machine and SSHing to a Centos 5.4
>> machine, it does the same thing, i.e. it sort of hangs for a while then
>> comes back after about 10-15 secs with a login prompt.
>> 
>> I've found that editing the /etc/ssh/ssh_config (note ssh_config, NOT
>> sshd_config) file on the Ubuntu box and *commenting out* the following
>> fixes it immediately, without needing to restart anything:
>> 
>>     GSSAPIAuthentication yes
>>     GSSAPIDelegateCredentials no
>> 
>> Change the above 2 lines to
>> 
>>     #GSSAPIAuthentication yes
>>     #GSSAPIDelegateCredentials no
>> 
>> and try again.
>> 
>> On 06/05/10 13:25, ann kok wrote:
>>> but I put this to no
>>> 
>>> the ssh is still slow
>>> 
>>> any hints
>>> 
>>> thank you
>> 
>> _______________________________________________
>> CentOS mailing list
>> CentOS@xxxxxxxxxx
>> http://lists.centos.org/mailman/listinfo/centos
> 
> 
> Try disabling both reverse DNS and GSSAPIAuthentication
> 
> http://www.taiter.com/blog/2009/04/disabling-reverse-lookup-for-s.html
> 
> Tait
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

Unless of course you ARE using GSSAPI for auth (environment using Kerberos
for auth), and then at that point, you need to look at the connection
between you, the server in question, and your KDC. If that is having
hiccups, you'll get slow authentication speeds.

-- 
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Cell:  (650) 704-6633
Phone: (408) 240-1239

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux