Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
Oracle Linux: SSH login delay (~30s)
in Linux
Applies To:
Oracle Linux 7 and later
Symptoms:
- Users report SSH takes ~20–30 seconds to log in after boot, even though the OS finishes booting quickly.
systemd-analyze blameshows no long (>10s) services; userspace completes in a few seconds./etc/ssh/sshd_configcontainsGSSAPIAuthentication yes;UseDNSnot explicitly set.systemctl --failedincludesgssproxy.servicein failed state (on the affected VM).
Cause:
The delay occurs during the SSH handshake: with GSSAPIAuthentication enabled but the Kerberos/GSS path unhealthy (gssproxy failed or no valid realm), sshd advertises GSSAPI, the client/daemon attempts Kerberos, and waits until it times out, then falls back to public-key. Reverse DNS lookups can add additional seconds when
Tagged:
0