Question

I cant enter my droplet. I can enter wordpress 5.8 Ubuntu 20.04.

Hi, I am trying to access my droplet. I know my password, but it doesn’t work. I can enter into my WordPress and customize it. Even if I reset the password for the droplet. it still says the password is wrong. So what I can do to enter in my droplet? I read somewhere that some Users had a similar problem. It doesn’t help to reset the password. I already tried that. I need to enter into my droplet because I need to do a redirection from non www to www. Thank you in advance.


Submit an answer
Answer a question...

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.

KFSys
Site Moderator
Site Moderator badge
December 29, 2022

Hi @neverdevelopment,

It’s possible you have PasswordAuthentication turned off. You can use the Recovery Console to enter your Droplet :

https://docs.digitalocean.com/products/droplets/how-to/recovery/recovery-console/

The Recovery Console provides out-of-band access and is available regardless of your network settings. It emulates the access you would have if you were sitting down with a keyboard and monitor attached to the actual server. You can use this feature to log in and revert bad settings to regain normal access.

Check the doc page on how to enter your Droplet. Once inside, open /etc/ssh/sshd_config inside, find the line PasswordAuthentication No and change it to PasswordAuthentication Yes. There might be a # before PasswordAuthentication, be sure to remove it. Once that’s done, save the file, exit and restart your sshd service service sshd restart