Skip to content

Instantly share code, notes, and snippets.

@joekir
Created May 16, 2017 06:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joekir/bc4cf1daa7c6755039e92db51a7aa525 to your computer and use it in GitHub Desktop.
Save joekir/bc4cf1daa7c6755039e92db51a7aa525 to your computer and use it in GitHub Desktop.
sshd hardened config
Port <some high port>
PermitRootLogin no
PubkeyAuthentication yes
IgnoreRhosts yes
PasswordAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
X11Forwarding no
PrintMotd no
PrintLastLog yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment