ssh_exchange_identification:读取:peev 重置连接

ssh_exchange_identification:读取:peev 重置连接

使用 ssh 连接到服务器时出现以下错误。

ssh_exchange_identification: read: Connection reset by peer

我可以从另一台机器连接同一台服务器,也可以从同一台客户端机器连接不同的服务器,没有任何问题。看来 ssh 在客户端和服务器上都运行良好,但它们无法连接。以下是 -vv 选项的输出:

OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
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 pjd-2.ccs.neu.edu [129.10.113.66] port 22.
debug1: Connection established.
debug1: identity file /home/rd/.ssh/id_rsa type -1
debug1: identity file /home/rd/.ssh/id_rsa-cert type -1
debug1: identity file /home/rd/.ssh/id_dsa type -1
debug1: identity file /home/rd/.ssh/id_dsa-cert type -1
debug1: identity file /home/rd/.ssh/id_ecdsa type -1
debug1: identity file /home/rd/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/rd/.ssh/id_ed25519 type -1
debug1: identity file /home/rd/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
ssh_exchange_identification: read: Connection reset by peer

相关内容