Skip to content

Instantly share code, notes, and snippets.

@Max95Cohen
Last active January 25, 2023 04:30
Show Gist options
  • Save Max95Cohen/64ddf993e0d6c9e22dcd28e1ef9c7940 to your computer and use it in GitHub Desktop.
Save Max95Cohen/64ddf993e0d6c9e22dcd28e1ef9c7940 to your computer and use it in GitHub Desktop.
sshd_config
Port 33022
PasswordAuthentication no
PubkeyAuthentication yes
MaxAuthTries = 3
PermitEmptyPasswords no
PermitRootLogin no
Protocol 2
ClientAliveInterval 180
AllowUsers test@192.168.10.7 pest
DenyUsers james
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment