SSH establishment takes a long time, with ssh -v result:
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure. Minor code may provide more information
No Kerberos credentials available
debug1: Unspecified GSS failure. Minor code may provide more information
No Kerberos credentials available
debug1: Unspecified GSS failure. Minor code may provide more information
debug1: Unspecified GSS failure. Minor code may provide more information
No Kerberos credentials availableSet GSSAPIAuthentication to yes
Before:
...
# GSSAPI options
GSSAPIAuthentication yes
...After:
...
# GSSAPI options
GSSAPIAuthentication no
...Then restart SSHD by
service sshd restartThe SSH connection establishment is faster, but now hanging around 10 seconds on debug1: SSH2_MSG_SERVICE_ACCEPT received
Hanging around ~10 seconds on:
debug1: SSH2_MSG_SERVICE_ACCEPT received
Change UseDNS to no.
Then restart SSHD by
service sshd restartNow SSH connection is fast.