The Photon operating system must be configured to protect the Secure Shell (SSH) public host key from unauthorized modification.
An XCCDF Rule
Description
<VulnDiscussion>If a public host key file is modified by an unauthorized user, the SSH service may be compromised.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-258895r933746_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
At the command line, run the following commands for each returned file:
# chmod 644 <file>
# chown root:root <file>
# systemctl restart sshd.service