Skip to content

Instantly share code, notes, and snippets.

@vsc1t
Created September 19, 2018 19:31
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 vsc1t/d486100eb8fa0c83a6cf5d3623ad8bca to your computer and use it in GitHub Desktop.
Save vsc1t/d486100eb8fa0c83a6cf5d3623ad8bca to your computer and use it in GitHub Desktop.
simple sshd config
PermitRootLogin prohibit-password
PubkeyAuthentication yes
ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
X11Forwarding yes
PrintMotd no
Banner none
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
UseDNS no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment