Skip to content

Instantly share code, notes, and snippets.

@ciekawy
Created March 2, 2026 14:06
Show Gist options
  • Select an option

  • Save ciekawy/5b2c206e2d768ecc1232ff5ee271f8e9 to your computer and use it in GitHub Desktop.

Select an option

Save ciekawy/5b2c206e2d768ecc1232ff5ee271f8e9 to your computer and use it in GitHub Desktop.
WEB-9: Simple sshd_config without PowerShell subsystem
# 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