OpenSSH on Windows Server
From a stopped sshd to key-only login for named accounts, on Server 2022 and 2025. Three guides that were written separately and read as one procedure.
Each part stands alone, as every article here does. Read in order they are one setup: install or start the service, open the port, then move the administrator off passwords.
4 parts · 3 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
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