4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

特定のサーバでssh接続に時間がかかる

Posted at

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

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?