Unable to login as root or ssh

Hi there

I am a bit stuck and not sure how it happened or what to do.

I had an apache2 error, i restarted the server and since then nothing wants to work.

I cannot connect via ssh it immediately says connection closed by IP Port 22.

Using the command through digital ocean wont let me sign in as root at all it says login incorrect without password confirmation.

I am unsure of how to proceed to login.

kind regards

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.

Well the issue is i have tried using the console to access it directly, however when i just type root as a username in, i instantly get a login failed. I havent even attempted to type the password in. i reset the password with still no luck.

All that i could do is lucky i have backups running and just restored from the backup, all the new information i will have to recapture but i couldnt wait to somehow fix the problem as the server was completely down.

If you are having trouble SSHing into your Droplet, you can use the remote console to access it through the control panel. It is very limited in functionality as it’s meant for emergency access, so once you’re in, try to resolve the SSH issue (do you have a firewall installed?) and then work through the other issues (apache2) via SSH.

You won’t see any feedback when you enter your root password. That’s normal, just enter the password and press enter. If you do not know your root password, you can also reset it through the control panel.