SV-285315r1211173_rule
V-285315
SRG-OS-000105-GPOS-00052
WN25-SH-000030
CAT II
10
To configure the system, add or modify the following line in the "$env:ProgramData/ssh/sshd_config" file:
PubkeyAuthentication yes
Restart the OpenSSH service for the settings to take effect.
If OpenSSH is not installed on the system, this requirement is not applicable.
.
If the system administrator demonstrates the use of an approved alternate multifactor authentication method, this requirement is not applicable.
Verify the system accepts public key encryption with the following command:
C:\ > Get-Content "$env:ProgramData\ssh\sshd_config" | Select-String -Pattern '^\s*PubkeyAuthentication'
PubkeyAuthentication yes
If "PubkeyAuthentication" is set to "no", the line is commented out, or the line is missing, this is a finding.
V-285315
False
WN25-SH-000030
If OpenSSH is not installed on the system, this requirement is not applicable.
.
If the system administrator demonstrates the use of an approved alternate multifactor authentication method, this requirement is not applicable.
Verify the system accepts public key encryption with the following command:
C:\ > Get-Content "$env:ProgramData\ssh\sshd_config" | Select-String -Pattern '^\s*PubkeyAuthentication'
PubkeyAuthentication yes
If "PubkeyAuthentication" is set to "no", the line is commented out, or the line is missing, this is a finding.
M
5719