Announcement Announcement Module
Collapse
No announcement yet.
Speed up SSH login Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Speed up SSH login

    Some times when we try ssh to a server, we can see a delay to get the password prompt. We can speed up this process.


    Causes:-
    --------

    1. GSSAPI to authentication is enabled in the server

    2. UseDNS is to set to ON, at this time server try to perform DNS resolution on the incoming requests and this will consume the time.

    Fix
    ----------
    1. We can check whether
    GSSAPI to authentication is delaying this process by using the below ssh command.

    ssh -vvv serveraddress.

    If you see mention of GSSAPI in the output and things slow down, disabling GSSAPI will help. For that open the ssh config file.

    vi /etc/ssh/sshd_config

    Set GSSAPIAuthentication to no
    Eg:- GSSAPIAuthentication no

    2.
    UseDNS no
Tag Cloud Tag Cloud Module
Collapse
Working...
X