Skip to content

Instantly share code, notes, and snippets.

@bryanisimo
Last active April 2, 2018 18:58
Show Gist options
  • Select an option

  • Save bryanisimo/717c0d31dec2e41d21c128fdf27f049a to your computer and use it in GitHub Desktop.

Select an option

Save bryanisimo/717c0d31dec2e41d21c128fdf27f049a to your computer and use it in GitHub Desktop.
sshd configurations
Ciphers aes128-ctr,aes192-ctr,aes256-ctr
HostKeyAlgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss
KexAlgorithms ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256
MACs hmac-sha2-256,hmac-sha2-512,hmac-sha1
LogLevel VERBOSE
AuthorizedKeysFile /etc/ssh/authorized-keys/%u
PermitRootLogin prohibit-password
ClientAliveInterval 120
ClientAliveCountMax 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment