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.
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!
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.
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 linePasswordAuthentication No
and change it toPasswordAuthentication Yes
. There might be a # before PasswordAuthentication, be sure to remove it. Once that’s done, save the file, exit and restart your sshd serviceservice sshd restart