我家里有一个 SSH 服务器,我正尝试从学校连接到它。但是当我尝试连接时,我得到了:
ssh_exchange_identification: read: Connection reset by peer
但是,当我从不同的客户端使用 ssh 时,它工作正常。相同的 SSH 版本,相同的操作系统。当我这样做时:
$ssh [email protected] -vv
我得到:
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 72.135.103.38 [72.135.103.38] port 22.
debug1: Connection established.
debug1: identity file /Users/mdow7299/.ssh/id_rsa type 1
debug1: identity file /Users/mdow7299/.ssh/id_rsa-cert type -1
debug1: identity file /Users/mdow7299/.ssh/id_dsa type -1
debug1: identity file /Users/mdow7299/.ssh/id_dsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
ssh_exchange_identification: read: Connection reset by peer
所以其他客户端可以通过 SSH 连接到服务器,但我不能。这肯定是客户端的问题。任何帮助都将不胜感激。