SV-215303r508663_rule
V-215303
SRG-OS-000480-GPOS-00229
AIX7-00-002121
CAT II
10
Edit "/etc/ssh/sshd_config" and add or update the "IgnoreRhosts " line as:
IgnoreRhosts yes
Save the change and restart ssh daemon:
# stopsrc -s sshd
# startsrc -s sshd
Check the SSH daemon configuration for allowed ".rhosts" using command:
# grep -i IgnoreRhosts /etc/ssh/sshd_config | grep -v '^#'
IgnoreRhosts yes
If no lines are returned, or the returned "IgnoreRhosts" directive is not set to "yes", this is a finding.
V-215303
False
AIX7-00-002121
Check the SSH daemon configuration for allowed ".rhosts" using command:
# grep -i IgnoreRhosts /etc/ssh/sshd_config | grep -v '^#'
IgnoreRhosts yes
If no lines are returned, or the returned "IgnoreRhosts" directive is not set to "yes", this is a finding.
M
4012