WN25-SH-000110 - Windows Server 2025 OpenSSH must not allow GSSAPI authentication.

Information

Generic Security Service Application Program Interface (GSSAPI) authentication is used to provide additional authentication mechanisms to applications. Allowing GSSAPI authentication through SSH exposes the system's GSSAPI to remote hosts, increasing the attack surface of the system.

Satisfies: SRG-OS-000364-GPOS-00151, SRG-OS-000480-GPOS-00228

Solution

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.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MS_Windows_Server_2025_V1R3_STIG.zip