我家裡有一個 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 連接到伺服器,但我不能。這絕對是客戶端問題。任何幫助,將不勝感激。