SSHログインLinuxサーバの遅いまたはログインエラーの解決方法の共有
PuTTYがSSHを使用してリモートのLinuxにログインして管理するたびに、リモートログインのプロセスは非常に遅い--ユーザー名を入力した後、30秒ほど待たなければパスワードの入力のヒントが出ない。実際に問題を処理する際、特に迅速な対応が必要な場合、このような状況は耐えられない。
しかし、その後、具体的にテストしてみると、これはすべてのシステムの通病ではなく、問題が発生した機械が主に集中しているCentOSでは、同じDebianシステムでは、遠隔接続の過程で健脚で飛ぶようで、カートンがためらっている感じは少しもないことが分かった。これはCentOSの問題ですか?
コードのコピーOpenSSH_6.0p1 Debian-4, OpenSSL 1.0.1e 11 Feb 2013
...Some sensitive information...
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.0p1 Debian-4
debug1: match: OpenSSH_6.0p1 Debian-4 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.0p1 Debian-4debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
...Some sensitive information...debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sentdebug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/mitchellchu/.ssh/id_rsa debug1: Trying private key: /home/mitchellchu/.ssh/id_dsa#下記はGSSAPI-KEYEXで検証
debug1: Next authentication method: gssapi-keyex
#しかし、エラー:情報を交換するために使用できるキーはありません。
debug1: No valid Key exchange context#システムは次に、次の検証方法を使用します:GSSAPI-WITH-MIC