nano /etc/ssh/sshd_configAdd a line PermitRootLogin yes:
# Authentication:
#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10Restart the SSH server:
systemctl restart sshdMy personal knowledge base, online.
nano /etc/ssh/sshd_configAdd a line PermitRootLogin yes:
# Authentication:
#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10Restart the SSH server:
systemctl restart sshd