Enable SSH root access in Debian

nano /etc/ssh/sshd_config

Add a line PermitRootLogin yes:

# Authentication:
#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10

Restart the SSH server:

systemctl restart sshd