You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
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)

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 blame shows no long (>10s) services; userspace completes in a few seconds.
  • /etc/ssh/sshd_config contains GSSAPIAuthentication yes; UseDNS not explicitly set.
  • systemctl --failed includes gssproxy.service in 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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!