There must be no shosts.equiv files on RHEL 9.
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-257955r925852_rule
- Severity
- High
- References
- Updated
Remediation - Manual Procedure
Remove any found "shosts.equiv" files from the system.
$ sudo rm /[path]/[to]/[file]/shosts.equiv