-
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added policy for hardened OpenSSH v8.4.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 = [email protected], [email protected], [email protected], [email protected], [email protected] | ||
|
||
# The key exchange algorithms that must match exactly (order matters). | ||
key exchanges = curve25519-sha256, [email protected], diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group-exchange-sha256 | ||
|
||
# The ciphers that must match exactly (order matters). | ||
ciphers = [email protected], [email protected], [email protected], aes256-ctr, aes192-ctr, aes128-ctr | ||
|
||
# The MACs that must match exactly (order matters). | ||
macs = [email protected], [email protected], [email protected] |