Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to [email protected]

Troubleshoot long respond times with Secure Shell communication Print

  • 87

SSH taking too long to respond?

Disable Group Support System (GSS) login, to do this follow this:

  1. Log in to the remote server as usual
  2. Open the SSH configuration (nano /etc/ssh/sshd_config)
  3. Once inside look for GSS authentication (Ctrl+W, gss, enter)
  4. Look for the line that says GSS authentication and add a “#” in front of it
  5. Save and close (ctrl+X, Y, enter)
  6. Restart the ssh service (service sshd restart or service ssh restart or /etc/init.d/sshd restart or /etc/init.d/ssh restart)

Explanation: SSH can use several different login schemes, password and username, keys, pam/kerberos, gss, etc

What it does is that when you connect to the server it goes one by one trying to see what works, the last one is username and password which is the most regular one, the authentication that takes the most time is with the gss api, since it’s not being used, it can be disabled, thus increasing the speed login works.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution