Skip to content

Instantly share code, notes, and snippets.

@mikoim
Last active November 23, 2020 15:33
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 mikoim/93d125fae493ccc870e9d0f0da491aca to your computer and use it in GitHub Desktop.
Save mikoim/93d125fae493ccc870e9d0f0da491aca to your computer and use it in GitHub Desktop.
Hardened OpenSSH_8.3p1 settings
# OpenSSH_8.3p1, OpenSSL 1.1.1g FIPS 21 Apr 2020
# HashKnownHosts yes
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com
# github.com currently has not supported Ed25519.
HostKeyAlgorithms ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512
KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment