Level 1 - Server Level 1 - Workstation
The IgnoreRhosts
parameter specifies that .rhosts
and .shosts
files will not be used in RhostsRSAAuthentication
or HostbasedAuthentication
.
Setting this parameter forces users to enter a password when authenticating with ssh.
Run the following command and verify that output matches:
# grep "^IgnoreRhosts" /etc/ssh/sshd_config IgnoreRhosts yes
Edit the /etc/ssh/sshd_config
file to set the parameter as follows:
IgnoreRhosts yes