このデバッグ情報は、SSH 接続の試行で何が問題になっているかについて何を教えてくれますか?

このデバッグ情報は、SSH 接続の試行で何が問題になっているかについて何を教えてくれますか?

指定されたユーザー名とパスワードの資格情報を使用して、リモート サーバーに新しい接続を試みています。次のコマンドで接続を試みます:

ssh -vv -p {port} {user}@{host}

この出力が表示され、その後 3 分間停止します。

OpenSSH_5.6p1, OpenSSL 0.9.8y 5 Feb 2013
debug1: Reading configuration data /Users/username/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to {host} [{host}] port {port}.
debug1: Connection established.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug2: key_type_from_name: unknown key type '-----END'
debug1: identity file /Users/username/.ssh/id_rsa type 1
debug1: identity file /Users/username/.ssh/id_rsa-cert type -1
debug1: identity file /Users/username/.ssh/id_dsa type -1
debug1: identity file /Users/username/.ssh/id_dsa-cert type -1
debug1: ssh_exchange_identification: 220 ProFTPD 1.3.3a Server (Debian) [{host}]

そして、次のようになります:

debug1: ssh_exchange_identification: 421 Login timeout (300 seconds): closing control connection

ssh_exchange_identification: Connection closed by remote host

公開鍵を使用して接続しようとしていますか? そうである場合、それはクライアントからのものでしょうか、それともサーバーからのものでしょうか?

これは私のクライアントから来ている可能性があるという理論をテストすると、ここで示されているコマンドを使用してパスワード認証を強制しようとしました:

ssh -o PreferredAuthentications=keyboard-interactive -o PubkeyAuthentication=no user@host

しかし、-vv でも同じ出力が得られ、同じポイントで停止します。パスワードを求められることはありません。

これはクライアントまたはサーバーの問題である可能性は高いですか? 問題を特定するために次に取るべき手順は何ですか? サーバーは私が管理しているものではありません。サーバー管理者と一緒に問題を調査するときに何を尋ねればよいかを知っておくとよいでしょう。

答え1

ssh_exchange_identification: 220 ProFTPD 1.3.3a ServerSSH サーバーではなく FTP サーバーが でリッスンしている可能性があることを示しています{port}

関連情報