Created
March 2, 2026 14:06
-
-
Save ciekawy/5b2c206e2d768ecc1232ff5ee271f8e9 to your computer and use it in GitHub Desktop.
WEB-9: Simple sshd_config without PowerShell subsystem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Simple sshd_config for Windows Server 2022 | |
| # WEB-9 - SSH setup (no PowerShell subsystem) | |
| # Authentication | |
| PubkeyAuthentication yes | |
| PasswordAuthentication no | |
| # Authorized keys file for administrators | |
| Match Group administrators | |
| AuthorizedKeysFile C:/ProgramData/ssh/administrators_authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment