0

SSH login take too much time in my CentOS machine, and also a ftp server is running on it.

Please help me to speedup the login time for both root and ftp user. I tried some tricks but no improvements.

Tries are shown below:

Already added some thinks into cat /etc/ssh/ssh_config

GSSAPIAuthentication no

UseDNS no

SSH login time is :

real 0m18.950s

user 0m0.022s

sys 0m0.016s

  • 1
    how much ram, what cpu, how much hdd space available, speed of NIC? – td512 May 11 '15 at 6:31
  • 1
    Maybe this might help: serverpronto.com/accounts/… – Linux NewB May 11 '15 at 9:01
  • Are those config changes to ssh_config or sshd_config? It's often the server doing reverse dns that slows things up for me – Eric Renouf May 11 '15 at 15:13
  • Also, when connecting via ssh, use a couple of v parameters to make your ssh client give you some extra info for your troubleshooting. This may show you the bit of information you are looking for. – Tomas Tudja May 14 '15 at 2:02

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.