SV-269162r1050044_rule
V-269162
SRG-OS-000364-GPOS-00151
ALMA-09-009480
CAT II
10
Configure the SSH daemon to not allow Kerberos authentication.
Add the following line to "/etc/ssh/sshd_config", or uncomment the line and set the value to "no":
KerberosAuthentication no
Alternatively, add the setting to an included file if the line "Include /etc/ssh/sshd_config.d/*.conf" is found at the top of the "/etc/ssh/sshd_config" file:
KerberosAuthentication no
Restart the SSH daemon for the settings to take effect:
$ systemctl restart sshd.service
Verify the SSH daemon does not allow Kerberos authentication with the following command:
$ /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iH '^\s*kerberosauthentication'
kerberosauthentication no
If the value is returned as "yes", the returned line is commented out, no output is returned, and the use of Kerberos authentication has not been documented with the information system security officer (ISSO), this is a finding.
V-269162
False
ALMA-09-009480
Verify the SSH daemon does not allow Kerberos authentication with the following command:
$ /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iH '^\s*kerberosauthentication'
kerberosauthentication no
If the value is returned as "yes", the returned line is commented out, no output is returned, and the use of Kerberos authentication has not been documented with the information system security officer (ISSO), this is a finding.
M
5664