SSHを接続するのに時間がかかる理由[重複]

SSHを接続するのに時間がかかる理由[重複]

私のネットワークの一部のLinuxサーバーは、SSHを使用して接続するのに長い時間がかかることがわかりました。

状態:

私は2つの状況に直面しました。

  1. 一部のサーバーでは、時間がかかる場合があります。パスワードを尋ねる

  2. しかし、他のサーバーではパスワードを入力すると反応しない。しばらくして20 0r 30秒と言えば、ただこうなります。接続が閉じました

ケースの詳細1個:

debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
Cannot determine realm for numeric host address

debug1: Unspecified GSS failure.  Minor code may provide more information
Cannot determine realm for numeric host address

debug1: Unspecified GSS failure.  Minor code may provide more information


debug1: Unspecified GSS failure.  Minor code may provide more information
Cannot determine realm for numeric host address

debug2: we did not send a packet, disable method
debug1: Next authentication method: publickey
debug1: Trying private key: /home/umairmustafa/.ssh/id_rsa
debug1: Trying private key: /home/umairmustafa/.ssh/id_dsa
debug1: Trying private key: /home/umairmustafa/.ssh/id_ecdsa
debug2: we did not send a packet, disable method
debug1: Next authentication method: password

ベストアンサー1

今朝も同じ問題が発生しました。

/etc/ssh/sshd_config設定の変更GSSAPIAuthentication no

おすすめ記事