Ubuntu SSH root user cannot login
-
Open
/etc/ssh/sshd_config
and check ifPermitRootLogin
is set toyes
. If not, then set it to yes and restartssh
withsudo service ssh restart
Open /etc/ssh/sshd_config
and check if PermitRootLogin
is set to yes
. If not, then set it to yes and restart ssh
with sudo service ssh restart