Yesterday I connected to a server(Linux) very well. But today I have to connect to another server(Linux) because of some reasons.
However I have an error:
~/Desktop $ ssh -vvv [username]@[serverIP]
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug1: /etc/ssh/ssh_config line 102: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to sysp [serverIP] port 22.
debug1: Connection established.
debug1: identity file /Users/yoo/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yoo/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yoo/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yoo/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yoo/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yoo/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yoo/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yoo/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
ssh_exchange_identification: read: Connection reset by peer
I've read some posts about this. But there was no solution to me.
The servers are not in my control. So I can't access the server and use the console of server.
Can anyone help me?
ECONNRESET
. Couldn't that come from an interrupted handshakeSYN > RST,ACK
? – user4556274 Sep 19 '16 at 16:59$ ssh -v localhost
sayOpenSSH_6.9p1, LibreSSL 2.1.8
. – n8o Sep 19 '16 at 17:03connect()
(which is where the handshake completes). It means the other side arbitrarily closed the connection (with outgoing packets pending?) and will happen on aread()
(maybe..) orwrite()
(definitely) using the fd. It could mean that, e.g., it is actually not an SSH server on the port. – goldilocks Sep 19 '16 at 17:17