OpenSSH on Windows Server
Enable sshd on Windows Server 2022 or 2025, move administrators to key login, then apply the eleven WN25-SH STIG rules on 2025. Each guide stands alone, and they read in order.
You don’t have to read these in order, but they’re written to be. Together they’re one setup: enable the service on your edition, 2022 or 2025, move the administrator to key login, then check the STIG rules if you’re on 2025.
5 parts · 4 published

- Part 1
How to Enable SSH on Windows Server 2022
Install the OpenSSH server with PowerShell, start sshd at boot, confirm the port 22 rule, and connect, plus where an administrator's key really goes.
- Part 2
How to Enable SSH on Windows Server 2025
Enabling SSH on Windows Server 2025 lets only Administrators and the OpenSSH Users group sign in. You turn it on with PowerShell, then choose who's in it.
- Part 3
Configure SSH Key Authentication for an Administrator on Windows Server with PowerShell
Windows OpenSSH ignores an administrator's authorized_keys. Put the key in administrators_authorized_keys with the right ACL, scripted for a fresh server.
- Part 4
Fix Seven Windows Server 2025 OpenSSH STIG Findings in sshd_config
All eleven WN25-SH OpenSSH checks run before and after, and the seven that fail on a fresh Server 2025 image end up printing what their check text expects.
- Part 5
Harden sshd_config on Windows Server
Key-only login for named accounts, and the two Windows differences that make the Linux advice wrong
Announced — not published