Skip to content

Instantly share code, notes, and snippets.

@picatz
Last active January 19, 2018 16:29
Show Gist options
  • Save picatz/905921c6b835204956f00c3685d75494 to your computer and use it in GitHub Desktop.
Save picatz/905921c6b835204956f00c3685d75494 to your computer and use it in GitHub Desktop.
Port 22
Protocol 2
HostKey /etc/ssh/sshd_host_rsa_key
HostKey /etc/ssh/sshd_host_dsa_key
HostKey /etc/ssh/sshd_host_ecdsa_key
HostKey /etc/ssh/sshd_host_ed25519_key
UsePrivilegeSeparation no
PermitRootLogin yes
StrictModes no
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys
MaxSessions 20
PermitEmptyPasswords yes
PasswordAuthentication yes
PrintLastLog no
TCPKeepAlive yes
ChallengeResponseAuthentication no
IgnoreUserKnownHosts yes
X11Forwarding yes
RhostsRSAAuthentication no
UseDNS no
HostbasedAuthentication no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment