mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-12-22 22:15:22 +01:00
Added policy for hardened OpenSSH v8.4.
This commit is contained in:
parent
b0c00749a6
commit
b7d698d743
28
policies/openssh_8_4.txt
Normal file
28
policies/openssh_8_4.txt
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#
|
||||||
|
# Official policy for hardened OpenSSH v8.4.
|
||||||
|
#
|
||||||
|
|
||||||
|
name = "Hardened OpenSSH v8.4"
|
||||||
|
version = 1
|
||||||
|
|
||||||
|
# RSA host key sizes.
|
||||||
|
hostkey_size_rsa-sha2-256 = 4096
|
||||||
|
hostkey_size_rsa-sha2-512 = 4096
|
||||||
|
|
||||||
|
# Group exchange DH modulus sizes.
|
||||||
|
dh_modulus_size_diffie-hellman-group-exchange-sha256 = 2048
|
||||||
|
|
||||||
|
# The host key types that must match exactly (order matters).
|
||||||
|
host keys = rsa-sha2-512, rsa-sha2-256, ssh-ed25519
|
||||||
|
|
||||||
|
# Host key types that may optionally appear.
|
||||||
|
optional host keys = sk-ssh-ed25519@openssh.com, ssh-ed25519-cert-v01@openssh.com, sk-ssh-ed25519-cert-v01@openssh.com, rsa-sha2-256-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com
|
||||||
|
|
||||||
|
# The key exchange algorithms that must match exactly (order matters).
|
||||||
|
key exchanges = curve25519-sha256, curve25519-sha256@libssh.org, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group-exchange-sha256
|
||||||
|
|
||||||
|
# The ciphers that must match exactly (order matters).
|
||||||
|
ciphers = chacha20-poly1305@openssh.com, aes256-gcm@openssh.com, aes128-gcm@openssh.com, aes256-ctr, aes192-ctr, aes128-ctr
|
||||||
|
|
||||||
|
# The MACs that must match exactly (order matters).
|
||||||
|
macs = hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, umac-128-etm@openssh.com
|
Loading…
Reference in New Issue
Block a user