Access denied when i login with root on console access & FileZilla

i am trying to login via FileZilla using - root & rootpassword using SFTP but system is keep saying - access denied. i dnt know how is it possible and how to fix this - i reset root password and set newpassword too but still same error.

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.

Site Moderator
Site Moderator badge
February 9, 2022

Hi @plashetcars,

Most probably your Droplet does not have the Password Authentication method allowed. There are two ways to go about this. You can use your SSH key to login or allow Password Authentication.

If it was up to me, I’ll recommend you to use an SSH key since a password can be hacked while using an SSH key is less likely.

Anyway, let’s assume you want to use Password Authentication. Use the Recovery Console to enter your Droplet. You can see how you can do so here:

Once you are inside the Droplet’s terminal, open the folder /etc/ssh/sshd_config in there search for the line #Password Authentication No. Once you find it, remove the comment mark # and where it says NO replace it with YES. It should look like this Password Authentication Yes.

Once you are done, save the file and restart the SSHD service like so :

service sshd restart

Once you’ve done this, you should be able to connect to your Droplet using your root password.