An exceptionally newbie question, sorry. I'm running a Debian machine as root:
If I carefully change the password (over VNC), it seems to work:
debian:/# passwd Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
If I then try to ssh in, carefully typing in the password I just set, I get 'Permission denied':
:~ ap257$ ssh root@XXX.XXX.XXX.XXX root@XXX.XXX.XXX.XXX's password: Permission denied, please try again. root@XXX.XXX.XXX.XXX's password: Permission denied, please try again.
What could be going wrong?
Solved, see my answer below (I can't accept it until tomorrow). Your thoughts on why on earth this worked would be very much appreciated!