SV-285323r1211197_rule
V-285323
SRG-OS-000364-GPOS-00151
WN25-SH-000110
CAT II
10
To configure the system, add or modify the following line in the "$env:ProgramData/ssh/sshd_config" file:
GSSAPIAuthentication no
Restart the OpenSSH service for the settings to take effect.
If OpenSSH is not installed on the system, this requirement is not applicable.
Verify the system does not allow GSSAPI authentication with the following command:
C:\ > Get-Content "$env:ProgramData\ssh\sshd_config" | Select-String -Pattern '^\s*GSSAPIAuthentication'
GSSAPIAuthentication no
If the value is returned as "yes", the returned line is commented out, or no output is returned, this is a finding.
V-285323
False
WN25-SH-000110
If OpenSSH is not installed on the system, this requirement is not applicable.
Verify the system does not allow GSSAPI authentication with the following command:
C:\ > Get-Content "$env:ProgramData\ssh\sshd_config" | Select-String -Pattern '^\s*GSSAPIAuthentication'
GSSAPIAuthentication no
If the value is returned as "yes", the returned line is commented out, or no output is returned, this is a finding.
M
5719