OL07-00-040420 - The Oracle Linux operating system must be configured so the SSH private host key files have mode 0640 or less permissive.

Information

If an unauthorized user obtains the private SSH host key file, the host could be impersonated.

Solution

Configure the mode of SSH private host key files under '/etc/ssh' to '0640' with the following command:

# chmod 0640 /path/to/file/ssh_host*key

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-221859r991589_rule, STIG-ID|OL07-00-040420, STIG-Legacy|SV-108561, STIG-Legacy|V-99457, Vuln-ID|V-221859

Plugin: Unix

Control ID: 3b76a35b3ac6af34df4b7ad4bdc131cfb0c25538fd7f345a192d121ddea24ae5