Skip to content

Instantly share code, notes, and snippets.

@tstachl
Last active February 20, 2018 23:21
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 tstachl/80d03b80a0c61533b9d22fb05e7af242 to your computer and use it in GitHub Desktop.
Save tstachl/80d03b80a0c61533b9d22fb05e7af242 to your computer and use it in GitHub Desktop.
My sshd_config with Root and Password access diabled.
# /etc/ssh/sshd_config
# ...
# Authentication
LoginGraceTime 120
PermitRootLogin no
StrictModes yes
# ...
# Change to no to disable tunnelled clear text passwords
PasswordAuthentication no
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment