An exceptionally newbie question, sorry. I'm running a Debian machine as root:
$whoami
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 [email protected]
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
What could be going wrong?
----UPDATE--------
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!