RHEL-07-040410 - The Red Hat Enterprise Linux operating system must be configured so that the SSH public host key files have mode 0644 or less permissive.

Information

If a public host key file is modified by an unauthorized user, the SSH service may be compromised.

Solution

Note: SSH public key files may be found in other directories on the system depending on the installation.

Change the mode of public host key files under '/etc/ssh' to '0644' with the following command:

# chmod 0644 /etc/ssh/*.key.pub

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_7_V3R15_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-204596r991589_rule, STIG-ID|RHEL-07-040410, STIG-Legacy|SV-86879, STIG-Legacy|V-72255, Vuln-ID|V-204596

Plugin: Unix

Control ID: 9d9c18f1a5ace80cac356cf5ca7afde4a8919da6237273251d443237a893bc37