我发现与此相关的所有内容都是“ssh-exchange-identification:”错误。这不会发生在我身上。我得到两行:
Connection to localhost closed by remote host.
Connection to localhost closed.
Run Code Online (Sandbox Code Playgroud)
ssh -v localhost 吐出:
OpenSSH_5.8p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to localhost [::1] port 22.
debug1: Connection established.
debug1: identity file /home/tim/.ssh/id_rsa type -1
debug1: identity file /home/tim/.ssh/id_rsa-cert type -1
debug1: identity file /home/tim/.ssh/id_dsa type -1
debug1: identity file /home/tim/.ssh/id_dsa-cert type -1
debug1: identity file /home/tim/.ssh/id_ecdsa type -1
debug1: identity file /home/tim/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software …Run Code Online (Sandbox Code Playgroud)