我已经通过 Mac 连接到远程服务器大约一个月了。不过最近,我尝试使用 ssh dylan@MY_IP 进行连接并收到此消息。
ssh_exchange_identification: read: Connection reset by peer
Run Code Online (Sandbox Code Playgroud)
我也得到了一些诊断信息...
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 53: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to {MY IP{ [MY IP] port 22.
debug1: Connection established.
debug1: identity file /Users/watson/.ssh/id_rsa type -1
debug1: identity file /Users/watson/.ssh/id_rsa-cert type -1
debug3: Incorrect RSA1 identifier
debug3: Could not load "/Users/watson/.ssh/id_dsa" as a RSA1 public key
debug1: identity file /Users/watson/.ssh/id_dsa …Run Code Online (Sandbox Code Playgroud)