4.1.1.8 Ensure access on /etc/ssh/ssh_config is configured

Information

The /etc/ssh/ssh_config file defines SSH client behavior.

The /etc/ssh/ssh_config file is the system-wide client configuration file for OpenSSH, which allows you to set options that modify the operation of the client programs. The recommended value is not to provide any writable access rights for any user other than root

Solution

Run the following commands to set the mode, owner and group owner for /etc/ssh/ssh_config :

chmod u-x,go-wx /etc/ssh/ssh_config

chown root:system /etc/ssh/ssh_config

See Also

https://workbench.cisecurity.org/benchmarks/19066

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: f182dc3fd4be01a814d4b357de67f7ef2a3a658f3388c5b97efbf9a7247294e0