Question

SSH is not working for remote hosts

I can login to SSH with web interface but it does not work from my Mac when I type

ssh root@IP

I have not setup SSH Keys. I wish to login with password.

Looks like I am missing something obvious. I had used other competing cloud services (not sure if I can mention it here) and I always could login.

Thanks


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

The same problem that @rajamarwah .

What’s the output of ssh -vvv root@IP?

I am facing the same issue since yesterday and still no resolution, I tried the above steps and here where I stand, Restart the ssh didn’t work, webconsole works but not remote. Here’s the output:

OpenSSH_7.2p2, LibreSSL 2.4.1 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 20: Applying options for * debug2: resolving “139.59.112.218” port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to 139.59.112.218 [139.59.112.218] port 22. debug1: Connection established. debug1: key_load_public: No such file or directory debug1: identity file /Users/Raj/.ssh/id_rsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /Users/Raj/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /Users/Raj/.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /Users/Raj/.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /Users/Raj/.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /Users/Raj/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /Users/Raj/.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /Users/Raj/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.2 ssh_exchange_identification: read: Connection reset by peer