Skip to content

Instantly share code, notes, and snippets.

@onelastjedi
Last active February 3, 2021 05:32
Show Gist options
  • Save onelastjedi/00df11a7fa31eab7faca17f83d0952d6 to your computer and use it in GitHub Desktop.
Save onelastjedi/00df11a7fa31eab7faca17f83d0952d6 to your computer and use it in GitHub Desktop.
aumi // ssh
# SSH server systemwide config
Port 33000
LoginGraceTime 600
IgnoreRhosts yes
IgnoreUserKnownHosts yes
StrictModes yes
RhostsAuthentication no
RhostsRSAAuthentication no
PermitRootLogin no
MaxAuthtries 1
MaxSessions 1
PubkeyAuthentication yes
ChallengeResponseAuthentication no
UsePAM yes
X11Forwarding yes
PrintMotd yes
# Allow client to pass locale env vars
AcceptEnv LANG LC_*
PasswordAuthentication no
PermitEmptyPasswords no
AllowUsers ops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment