Free guide
SSH is not just for Linux.
One script for the server side, a checklist that proves each step took, and an administrator signing in with a key.
The PDF and the script, by email.
What you get
Windows Server Field Guide to SSH
- The server side as one script
- Capability, service, firewall, the administrator key with the correct ACL, PowerShell as the default shell, and a switch that turns password authentication off, as one script you run elevated on a fresh box. Password authentication stays on until you have confirmed key login and turn it off yourself.
- A verification checklist
- The commands that prove the setup took, and the output to expect.
Verification checklist
Service running and automatic. Status Running, StartType Automatic.
Get-Service -Name sshd | Format-Table Name, Status, StartTypeAdministrator key file has the right ACL. Exactly BUILTIN\Administrators:(F) and NT AUTHORITY\SYSTEM:(F).
icacls.exe "$env:ProgramData\ssh\administrators_authorized_keys"Key login works (client). Output, no password prompt.
ssh -o BatchMode=yes -i ~/.ssh/id_ed25519 Administrator@server-address 'whoami' - Server 2025 differences in one page
- The stock
AllowGroupsline, the OpenSSH Users group, the Server Manager toggle, and what a 2022 procedure breaks on 2025.
Contents
- What SSH gives you that RDP does not
- Before you start
- Install or confirm the OpenSSH server capability
- Start the service and set startup type
- Firewall rule
- First connection from a client
- Keys: what they are and how to make one
- Key authentication for a standard user
- Key authentication for an administrator
- Set PowerShell as the default shell
- Restrict who may sign in
- Doing work over SSH
- Server 2025 differences in one page
- Verification checklist
- Troubleshooting
- Appendix A: sshd_config reference
- Appendix B: the server side as one script
One searchable PDF that works offline and can be handed to a colleague.
Windows Server Field Guide to SSH
One searchable PDF, 17 sections.
The PDF and the script, by email.