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 68.183.227.27 is address debug2: ssh_connect_direct debug1: Connecting to 68.183.227.27 [68.183.227.27] 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
please help
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello,
I would recommend trying the following, login as root via the digital ocean console and set more strict permissions to your authorized_keys file:
Then try to access the server via SSH again.
Hope that this helps! Bobby