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

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.

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 :

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

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel