特定のサーバに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
は使わないので。