To enable root login for SSH
To enable root login for SSH
first enable root account by giving password to root
change
first enable root account by giving password to root
sudo passwd
Now, you need to edit /etc/ssh/sshd_configgksudo gedit /etc/ssh/sshd_config
Remove the (#) comment from this line:PermitRootLogin without-password
directly under it add this:change
without-password to
yes
PermitRootLogin yes
Now restart SSH:sudo service ssh restart
Comments