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.
[permission 600]
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_config
If the permissions are incorrect, run the following command to correct them:
# chmod 600 /etc/ssh/sshd_config
oval:org.secpod.oval:def:46231
SCAP Repo OVAL Definition
2018-07-05