Your organization is implementing a policy to disable root login via SSH. Which configuration file and parameter should you modify?

  • /etc/ssh/sshd_config, PermitRootLogin
  • /etc/ssh/sshd_config, AllowRoot
  • /etc/ssh/ssh_config, DenyRoot
  • /etc/ssh/ssh_config, RootLogin
To disable root login via SSH, you should modify the /etc/ssh/sshd_config file and set the PermitRootLogin parameter to no. This enhances security by preventing direct root logins, encouraging users to log in as a regular user and then use sudo for administrative tasks.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *