3.7.2.8 /etc/ssh/ssh_config

Information

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

Rationale:

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

Default Value:

640

Additional Information:

Using the octal mode to (re)set the mode will also disable any ACL's that might have been set.

See Also

https://workbench.cisecurity.org/files/4119

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: 6742799742d37d34a31ba630ed48625cccd83b4cf9f67a43cb912780f1b8d9a1