特定のサーバにsshでつなごうとするとやたらと接続に時間がかかった(1分くらい)のでその時の対処を記録しておきます。
ssh -vで接続すると、
.
.
.
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure. Minor code may provide more information
Credentials cache file '/tmp/krb5cc_1000' not found
debug1: Unspecified GSS failure. Minor code may provide more information
Credentials cache file '/tmp/krb5cc_1000' not found
debug1: Unspecified GSS failure. Minor code may provide more information
debug1: Unspecified GSS failure. Minor code may provide more information
.
.
.
このあたりで時間がかかっていたので、GSSAPIAuthenticationを使わないように~/.ssh/configで設定します。
Host *
GSSAPIAuthentication no
根本的解決ではないのですが、私の場合GSSAPIAuthenticationは使わないので。