why does putty and winscp denie my root passwords of the droplets

i am trying to deloy a flask app but just failed because all my root passwords of different projects are denied in putty and winscp, i used the digital ocean console to install apache, python3, python3-pip,flask web app, flask_sqlalchemy and was successful in all but failed at the stage of using winscp i failed to access…please help

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.

Did you allow root login with password in the file /etc/ssh/sshd_config ?

Change PermitRootLogin from prohibit-password to yes

PermitRootLogin yes

Then restart the SSH service:

systemctl reload sshd