[CentOS] ssh slow

Fernando Gleiser fergleiser at yahoo.com
Thu May 6 00:52:38 UTC 2010


----- Original Message ----

> From: ann kok <oiyankok at yahoo.ca>
> To: centos at centos.org
> Sent: Wed, May 5, 2010 9:44:12 PM
> Subject: [CentOS] ssh slow
> 
> Hi

> How I can configure sshd_config to improve the ssh faster?

> It  is slow to prompt the login


Fix your DNS setup and/or configure it to "UseDNS no".
Such slowdowns happen because sshd tries to get a reverse DNS lookup of your IP address.

It can be a big PITA when you try to login into a server to fix a broken DNS and the login times out because it tries to get a that PTR record back......


Just remember the mantra: "most weird network problems are related to DNS problems....."


Fer


      



More information about the CentOS mailing list