Information
The /etc/ssh/sshd_config file contains configuration specifications for sshd. The command
below sets the owner and group of the file to root.
*Rationale*
The /etc/ssh/sshd_config file needs to be protected from unauthorized changes by non-
priliveged users, but needs to be readable as this information is used with many non-
privileged programs.
Solution
If the user and group ownership of the /etc/ssh/sshd_config file are incorrect, run the
following command to correct them-# chown root-root /etc/ssh/sshd_configIf the permissions are incorrect, run the following command to correct them-# chmod 600 /etc/ssh/sshd_config