On a newly installed Linux server, it always takes about 15 seconds to do an SSH login. That's quite a delay.
So we checked the sshd_config file. There is an option
GSSAPIAuthentication yes
Change this option to "no". Then restart sshd. The login delay is instantly gone.
Apparently there is some bug(s) related to this. See Bug: SSH with GSSAPIAuthentication option on SSH servers are very slow
When it is turned on, it allows user authentication using GSSAPI (Generic Security Service Application Programming Interface). GSSAPI is a function interface that provides security services for applications in a mechanism-independent way. This allows different security mechanisms to be used via one standardized API. GSSAPI is often linked with Kerberos, which is the most common mechanism of GSSAPI.
Recent comments
8 weeks 4 days ago
9 weeks 3 days ago
20 weeks 3 days ago
21 weeks 6 days ago
30 weeks 4 days ago
30 weeks 5 days ago
31 weeks 5 days ago
32 weeks 4 days ago
32 weeks 4 days ago
32 weeks 5 days ago