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

Change the permissions of the /etc/ssh/ssh_config file to ensure that only the owner can read and write to the file:

chmod 644 /etc/ssh/ssh_config

See Also

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

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