SSH 问题(ssh_exchange_identification:读取:对端重置连接)

SSH 问题(ssh_exchange_identification:读取:对端重置连接)

我之前运行的是 11.10 版本,后来决定进行全面升级,升级到 12.04 版本。更新后,SSH(不是 SSHD)在尝试连接到其他 OpenSSH 实例时出现问题。我说 OpenSSH 是因为我在路由器上运行 DropBear sshd,而且能够连接到它。

尝试连接到 OpenSSH 服务器时

risk@skynet:~/.ssh$ ssh -vvv risk@someserver
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /home/risk/.ssh/config
debug3: key names ok: [[email protected],[email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss]
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to someserver [someserver] port 22.
debug1: Connection established.
debug1: identity file /home/risk/.ssh/id_rsa type -1
debug1: identity file /home/risk/.ssh/id_rsa-cert type -1
debug1: identity file /home/risk/.ssh/id_dsa type -1
debug1: identity file /home/risk/.ssh/id_dsa-cert type -1
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/risk/.ssh/id_ecdsa" as a RSA1 public key
debug1: identity file /home/risk/.ssh/id_ecdsa type 3
debug1: Checking blacklist file /usr/share/ssh/blacklist.ECDSA-521
debug1: Checking blacklist file /etc/ssh/blacklist.ECDSA-521
debug1: identity file /home/risk/.ssh/id_ecdsa-cert type -1
ssh_exchange_identification: read: Connection reset by peer
risk@skynet:~/.ssh$

DropBear 实例

risk@skynet:~/.ssh$ ssh -vvv root@darkness
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /home/risk/.ssh/config
debug3: key names ok: [[email protected],[email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss]
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to darkness [192.168.1.1] port 22.
debug1: Connection established.
debug1: identity file /home/risk/.ssh/id_rsa type -1
debug1: identity file /home/risk/.ssh/id_rsa-cert type -1
debug1: identity file /home/risk/.ssh/id_dsa type -1
debug1: identity file /home/risk/.ssh/id_dsa-cert type -1
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/risk/.ssh/id_ecdsa" as a RSA1 public key
debug1: identity file /home/risk/.ssh/id_ecdsa type 3
debug1: Checking blacklist file /usr/share/ssh/blacklist.ECDSA-521
debug1: Checking blacklist file /etc/ssh/blacklist.ECDSA-521
debug1: identity file /home/risk/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version dropbear_0.52
debug1: no match: dropbear_0.52
...

我已经在 Google 上搜索并运行了 Debian 和 Arch 方面推荐的大多数修复程序,但似乎都没有解决我的问题。有什么想法吗?

答案1

看起来我可能已经将此归结为网络设备不再正常的问题。

相关内容