There must be no shosts.equiv files on the RHEL 8 operating system.
An XCCDF Rule
Description
<VulnDiscussion>The "shosts.equiv" files are used to configure host-based authentication for the system via SSH. Host-based authentication is not sufficient for preventing unauthorized access to the system, as it does not require interactive identification and authentication of a connection request, or for the use of two-factor authentication.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-230283r627750_rule
- Severity
- High
- References
- Updated
Remediation - Manual Procedure
Remove any found "shosts.equiv" files from the system.
$ sudo rm /etc/ssh/shosts.equiv