SLEM 5 SSH daemon private host key files must have mode 640 or less permissive.
An XCCDF Rule
Description
<VulnDiscussion>If an unauthorized user obtains the private SSH host key file, the host could be impersonated.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-261294r996359_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Configure the mode of SLEM 5 SSH daemon private host key files under "/etc/ssh" to "640" with the following command:
> sudo chmod 640 /etc/ssh/ssh_host*key