5.2.6 Ensure SSH IgnoreRhosts is enabled (Scored)

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
  • ubuntu1604/5/2/6.txt
  • Last modified: 2017/05/04 11:30
  • by 127.0.0.1