SV-204435r603261_rule
V-204435
SRG-OS-000480-GPOS-00229
RHEL-07-010470
CAT II
10
Configure the operating system to not allow a non-certificate trusted host SSH logon to the system.
Edit the "/etc/ssh/sshd_config" file to uncomment or add the line for "HostbasedAuthentication" keyword and set the value to "no":
HostbasedAuthentication no
The SSH service must be restarted for changes to take effect.
Verify the operating system does not allow a non-certificate trusted host SSH logon to the system.
Check for the value of the "HostbasedAuthentication" keyword with the following command:
# grep -i hostbasedauthentication /etc/ssh/sshd_config
HostbasedAuthentication no
If the "HostbasedAuthentication" keyword is not set to "no", is missing, or is commented out, this is a finding.
V-204435
False
RHEL-07-010470
Verify the operating system does not allow a non-certificate trusted host SSH logon to the system.
Check for the value of the "HostbasedAuthentication" keyword with the following command:
# grep -i hostbasedauthentication /etc/ssh/sshd_config
HostbasedAuthentication no
If the "HostbasedAuthentication" keyword is not set to "no", is missing, or is commented out, this is a finding.
M
2899