Thursday, April 10, 2014

Allow root user login

For any reason, if you want the root user to login directly, please follow these instructions:

  • Go to /etc/ssh/sshd_config
  • Set PermitRootLogin to yes
  • Add root user under AllowUsers and remove him from DenyUsers
PermitRootLogin yes
.
.
AllowUsers eng root
DenyUSers

  • Restart ssh service. service sshd restart

No comments:

Post a Comment