sudo nano /etc/ssh/sshd_config
change
PermitRootLogin prohibit-password
to
PermitRootLogin yes
or sudo sed -i ‘s/prohibit-password/yes/’ /etc/ssh/sshd_config
in order to PAM authentication add
AllowUsers root
or sudo echo “AllowUsers root” >> /etc/ssh/sshd_config
sudo service ssh restart

sudo passwd root

Impactos: 3

Habilitar ssh root Ubuntu

Ubuntu

sudo nano /etc/ssh/sshd_config
change
PermitRootLogin prohibit-password
to
PermitRootLogin yes
or sudo sed -i ‘s/prohibit-password/yes/’ /etc/ssh/sshd_config
in order to PAM authentication add
AllowUsers root
or sudo echo “AllowUsers root” >> /etc/ssh/sshd_config
sudo service ssh restart

sudo passwd root

Impactos: 3