The AIX SSH daemon must be configured to not use host-based authentication.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-215304 | AIX7-00-002122 | SV-215304r991591_rule | CCI-000366 | medium |
| Description | ||||
| SSH trust relationships mean a compromise on one host can allow an attacker to move trivially to other hosts. | ||||
| STIG | Date | |||
| IBM AIX 7.x Security Technical Implementation Guide | 2024-08-16 | |||
Details
Check Text (C-215304r991591_chk)
Check the SSH daemon configuration for allowed host-based authentication using command:
# grep -i HostbasedAuthentication /etc/ssh/sshd_config | grep -v '^#'
HostbasedAuthentication no
If no lines are returned, or the returned "HostbasedAuthentication" directive contains "yes", this is a finding.
Fix Text (F-16500r294364_fix)
Edit "/etc/ssh/sshd_config" and add or update the "HostbasedAuthentication" line as:
HostbasedAuthentication no
Save the change and restart ssh daemon:
# stopsrc -s sshd
# startsrc -s sshd