I keep having this issue, I have restarted the server already and still has this issue I used ssh --v and this is my log
OpenSSH_7.8p1, LibreSSL 2.7.3 debug1: Reading configuration data /Users/anazodosomto/.ssh/config debug1: /Users/anazodosomto/.ssh/config line 1: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 48: Applying options for * debug2: resolve_canonicalize: hostname 22.214.171.124 is address debug2: ssh_connect_direct debug1: Connecting to 126.96.36.199 [188.8.131.52] port 22. debug1: Connection established. debug1: identity file /Users/anazodosomto/.ssh/id_rsa type 0 debug1: identity file /Users/anazodosomto/.ssh/id_rsa-cert type -1 debug1: identity file /Users/anazodosomto/.ssh/id_dsa type -1 debug1: identity file /Users/anazodosomto/.ssh/id_dsa-cert type -1 debug1: identity file /Users/anazodosomto/.ssh/id_ecdsa type -1 debug1: identity file /Users/anazodosomto/.ssh/id_ecdsa-cert type -1 debug1: identity file /Users/anazodosomto/.ssh/id_ed25519 type -1 debug1: identity file /Users/anazodosomto/.ssh/id_ed25519-cert type -1 debug1: identity file /Users/anazodosomto/.ssh/id_xmss type -1 debug1: identity file /Users/anazodosomto/.ssh/id_xmss-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_7.8 ssh_exchange_identification: read: Connection reset by peer
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.