I am trying to SSH into my server via WinSCP, although the problem will occur with putty as well.
I have Ubuntu 12.04 I have edited /etc/ssh/sshd_config
and added PermitRootLogin without-password
to the bottom of the file. But this still doesn't seem to have changed my problem.
People have mentioned needed to restart ssh demon. I have tried:
/etc/init.d/sshd reload
reload sshd.service
/etc/init.d/sshd reload
All of the above are unrecognised.
I have then tried Files ¬ Custom Commands ¬ sudo -s & su
No luck there either.