Skip to main content

Delayed response on ssh connection

Comments

7 comments

  • sparek-3
    Did you restart SSH after setting UseDNS to no?
    0
  • cPanelLauren
    I'm also not able to replicate this nor have I heard any reports internally of an issue with SSH logins. I've got a few 70 test servers with no issues personally as well. I am curious to know if the issue persists after a restart of the service as well. Thanks!
    0
  • Simon Greenwood
    I'm also not able to replicate this nor have I heard any reports internally of an issue with SSH logins. I've got a few 70 test servers with no issues personally as well. I am curious to know if the issue persists after a restart of the service as well. Thanks!

    Disabling GSSAPIStrictAcceptorCheck as well as GSSAPIAuthentication seems to have fixed it, which I'm sure has occurred before but not recently so I'm not sure why an update would cause it.
    0
  • Simon Greenwood
    Ah, spoke too soon - it did, once and then started doing it again. There does seem to be an issue with keys that have a 'from=' component but I can't track it down.
    0
  • sparek-3
    Is the from listing an IP address or a hostname? What DNS resolvers are you using on the server? Are those DNS resolvers working correctly? This sounds like a DNS issue. One of the DNS resolvers you are using is not responding to requests, but it is being tried anyway and those requests have to timeout before the next resolver is tried. Or perhaps none of the resolvers are working. Or perhaps whatever you are looking up isn't responding.
    0
  • Simon Greenwood
    This was due to an issue with systemd-logind. Restarting it made everything work again - this is a common solution but obviously not an obvious one.
    0
  • cPanelLauren
    HI @Simon Greenwood Thank you for updating the thread with the solution. I'm glad you got it worked out!
    0

Please sign in to leave a comment.