Skip to content

Verify Owner on SSH Server config file

An XCCDF Rule

Description

To properly set the owner of /etc/ssh/sshd_config, run the command:

$ sudo chown root /etc/ssh/sshd_config 

Rationale

Service configuration files enable or disable features of their respective services that if configured incorrectly can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the correct group to prevent unauthorized changes.

ID
xccdf_org.ssgproject.content_rule_file_owner_sshd_config
Severity
Medium
References
Updated