[CentOS] ssh slow

Tait Clarridge tait at clarridge.ca
Thu May 6 17:20:52 UTC 2010


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 at centos.org
> 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





More information about the CentOS mailing list