2

I'm using Ubuntu 14.04 Server version. I want to enable the 'root' user login. I have tried with /etc/ssh/sshd_config file but no positive results comes out.Please help me providing the solution. Thanks in advance

2 Answers2

2

You should set password of root user to enable it. Use this:

sudo passwd root
Jim
  • 63
1

In /etc/ssh/sshd_config you need to comment or delete the line PermitRootLogin without-password
After that, add the line PermitRootLogin yes
Finally restart the SSH with service ssh restart