4.2.10 Ensure sshd IgnoreRhosts is enabled

Information

The IgnoreRhosts parameter specifies thatrhosts andshosts files will not be used in RhostsRSAAuthentication or HostbasedAuthentication

Setting this parameter forces users to enter a password when authenticating with SSH.

Solution

Edit the /etc/ssh/sshd_config file to set the IgnoreRhosts parameter to yes as follows:

IgnoreRhosts yes

See Also

https://workbench.cisecurity.org/benchmarks/15023

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1), CSCv7|4.4

Plugin: Unix

Control ID: 899c08f92b4a217b4ce24caf2f10a3b2f27a111fb306e5cb1c2a3c8545f6b04b