By swiftyng
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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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:
chmod 700 /root/.ssh
chmod 600 /root/.ssh/authorized_keys
Then try to access the server via SSH again.
Hope that this helps! Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.