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

Posted October 23, 2021 173 views
Python Frameworks

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

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.

Submit an Answer
1 answer

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