Hi
How I can configure sshd_config to improve the ssh faster?
It is slow to prompt the login
Thank you
I heard it before
but how can be solved?
Thank you
--- On Wed, 5/5/10, Barry Brimer lists@brimer.org wrote:
but I put this to no
the ssh is still slow
any hints
thank you
--- On Wed, 5/5/10, John R Pierce pierce@hogranch.com wrote:
From: ann kok oiyankok@yahoo.ca
ssh is still slow
Tried to use verbose to see what's going on...? ssh -vvv
JD
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:
On Thu, 2010-05-06 at 16:39 +0100, Khusro Jaleel wrote:
Try disabling both reverse DNS and GSSAPIAuthentication
http://www.taiter.com/blog/2009/04/disabling-reverse-lookup-for-s.html
Tait
On 5/6/10 10:20 AM, "Tait Clarridge" tait@clarridge.ca wrote:
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.
----- Original Message ----
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