39b801
diff --color -ru a/ssh_config.5 b/ssh_config.5
39b801
--- a/ssh_config.5	2022-07-12 15:05:22.550013071 +0200
39b801
+++ b/ssh_config.5	2022-07-12 15:17:20.016704545 +0200
39b801
@@ -373,17 +373,13 @@
943807
 .Qq *.c.example.com
943807
 domains.
943807
 .It Cm CASignatureAlgorithms
943807
+The default is handled system-wide by
943807
+.Xr crypto-policies 7 .
39b801
+Information about defaults, how to modify the defaults and how to customize existing policies with sub-policies are present in manual page
943807
+.Xr update-crypto-policies 8 .
943807
+.Pp
943807
 Specifies which algorithms are allowed for signing of certificates
943807
 by certificate authorities (CAs).
943807
-The default is:
943807
-.Bd -literal -offset indent
5dbb6f
-ssh-ed25519,ecdsa-sha2-nistp256,
5dbb6f
-ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
5dbb6f
-sk-ssh-ed25519@openssh.com,
5dbb6f
-sk-ecdsa-sha2-nistp256@openssh.com,
943807
-rsa-sha2-512,rsa-sha2-256
943807
-.Ed
943807
-.Pp
5dbb6f
 If the specified list begins with a
5dbb6f
 .Sq +
5dbb6f
 character, then the specified algorithms will be appended to the default set
39b801
@@ -445,20 +441,25 @@
943807
 (the default),
943807
 the check will not be executed.
943807
 .It Cm Ciphers
943807
+The default is handled system-wide by
943807
+.Xr crypto-policies 7 .
39b801
+Information about defaults, how to modify the defaults and how to customize existing policies with sub-policies are present in manual page
943807
+.Xr update-crypto-policies 8 .
943807
+.Pp
943807
 Specifies the ciphers allowed and their order of preference.
943807
 Multiple ciphers must be comma-separated.
943807
 If the specified list begins with a
943807
 .Sq +
943807
-character, then the specified ciphers will be appended to the default set
943807
-instead of replacing them.
943807
+character, then the specified ciphers will be appended to the built-in
943807
+openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq -
943807
 character, then the specified ciphers (including wildcards) will be removed
943807
-from the default set instead of replacing them.
943807
+from the built-in openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq ^
943807
 character, then the specified ciphers will be placed at the head of the
943807
-default set.
943807
+built-in openssh default set.
943807
 .Pp
943807
 The supported ciphers are:
943807
 .Bd -literal -offset indent
39b801
@@ -474,13 +475,6 @@
943807
 chacha20-poly1305@openssh.com
943807
 .Ed
943807
 .Pp
943807
-The default is:
943807
-.Bd -literal -offset indent
943807
-chacha20-poly1305@openssh.com,
943807
-aes128-ctr,aes192-ctr,aes256-ctr,
943807
-aes128-gcm@openssh.com,aes256-gcm@openssh.com
943807
-.Ed
943807
-.Pp
943807
 The list of available ciphers may also be obtained using
943807
 .Qq ssh -Q cipher .
943807
 .It Cm ClearAllForwardings
39b801
@@ -874,6 +868,11 @@
943807
 The default is
943807
 .Dq no .
943807
 .It Cm GSSAPIKexAlgorithms
943807
+The default is handled system-wide by
943807
+.Xr crypto-policies 7 .
39b801
+Information about defaults, how to modify the defaults and how to customize existing policies with sub-policies are present in manual page
943807
+.Xr update-crypto-policies 8 .
943807
+.Pp
943807
 The list of key exchange algorithms that are offered for GSSAPI
943807
 key exchange. Possible values are
943807
 .Bd -literal -offset 3n
39b801
@@ -886,10 +885,8 @@
943807
 gss-curve25519-sha256-
943807
 .Ed
943807
 .Pp
943807
-The default is
943807
-.Dq gss-group14-sha256-,gss-group16-sha512-,gss-nistp256-sha256-,
943807
-gss-curve25519-sha256-,gss-group14-sha1-,gss-gex-sha1- .
943807
 This option only applies to connections using GSSAPI.
943807
+.Pp
943807
 .It Cm HashKnownHosts
943807
 Indicates that
943807
 .Xr ssh 1
39b801
@@ -1219,29 +1216,25 @@
943807
 and
943807
 .Cm pam .
943807
 .It Cm KexAlgorithms
943807
+The default is handled system-wide by
943807
+.Xr crypto-policies 7 .
39b801
+Information about defaults, how to modify the defaults and how to customize existing policies with sub-policies are present in manual page
943807
+.Xr update-crypto-policies 8 .
943807
+.Pp
943807
 Specifies the available KEX (Key Exchange) algorithms.
943807
 Multiple algorithms must be comma-separated.
943807
 If the specified list begins with a
943807
 .Sq +
943807
-character, then the specified methods will be appended to the default set
943807
-instead of replacing them.
943807
+character, then the specified methods will be appended to the built-in
943807
+openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq -
943807
 character, then the specified methods (including wildcards) will be removed
943807
-from the default set instead of replacing them.
943807
+from the built-in openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq ^
943807
 character, then the specified methods will be placed at the head of the
943807
-default set.
943807
-The default is:
943807
-.Bd -literal -offset indent
943807
-curve25519-sha256,curve25519-sha256@libssh.org,
943807
-ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,
943807
-diffie-hellman-group-exchange-sha256,
943807
-diffie-hellman-group16-sha512,
943807
-diffie-hellman-group18-sha512,
943807
-diffie-hellman-group14-sha256
943807
-.Ed
943807
+built-in openssh default set.
943807
 .Pp
943807
 The list of available key exchange algorithms may also be obtained using
943807
 .Qq ssh -Q kex .
39b801
@@ -1351,37 +1344,33 @@
943807
 file.
943807
 This option is intended for debugging and no overrides are enabled by default.
943807
 .It Cm MACs
943807
+The default is handled system-wide by
943807
+.Xr crypto-policies 7 .
39b801
+Information about defaults, how to modify the defaults and how to customize existing policies with sub-policies are present in manual page
943807
+.Xr update-crypto-policies 8 .
943807
+.Pp
943807
 Specifies the MAC (message authentication code) algorithms
943807
 in order of preference.
943807
 The MAC algorithm is used for data integrity protection.
943807
 Multiple algorithms must be comma-separated.
943807
 If the specified list begins with a
943807
 .Sq +
943807
-character, then the specified algorithms will be appended to the default set
943807
-instead of replacing them.
943807
+character, then the specified algorithms will be appended to the built-in
943807
+openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq -
943807
 character, then the specified algorithms (including wildcards) will be removed
943807
-from the default set instead of replacing them.
943807
+from the built-in openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq ^
943807
 character, then the specified algorithms will be placed at the head of the
943807
-default set.
943807
+built-in openssh default set.
943807
 .Pp
943807
 The algorithms that contain
943807
 .Qq -etm
943807
 calculate the MAC after encryption (encrypt-then-mac).
943807
 These are considered safer and their use recommended.
943807
 .Pp
943807
-The default is:
943807
-.Bd -literal -offset indent
943807
-umac-64-etm@openssh.com,umac-128-etm@openssh.com,
943807
-hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,
943807
-hmac-sha1-etm@openssh.com,
943807
-umac-64@openssh.com,umac-128@openssh.com,
943807
-hmac-sha2-256,hmac-sha2-512,hmac-sha1
943807
-.Ed
943807
-.Pp
943807
 The list of available MAC algorithms may also be obtained using
943807
 .Qq ssh -Q mac .
943807
 .It Cm NoHostAuthenticationForLocalhost
39b801
@@ -1553,37 +1542,25 @@
943807
 The default is
943807
 .Cm no .
943807
 .It Cm PubkeyAcceptedAlgorithms
943807
+The default is handled system-wide by
943807
+.Xr crypto-policies 7 .
39b801
+Information about defaults, how to modify the defaults and how to customize existing policies with sub-policies are present in manual page
943807
+.Xr update-crypto-policies 8 .
943807
+.Pp
943807
 Specifies the signature algorithms that will be used for public key
943807
 authentication as a comma-separated list of patterns.
943807
 If the specified list begins with a
943807
 .Sq +
943807
-character, then the algorithms after it will be appended to the default
943807
-instead of replacing it.
943807
+character, then the algorithms after it will be appended to the built-in
943807
+openssh default instead of replacing it.
943807
 If the specified list begins with a
943807
 .Sq -
943807
 character, then the specified algorithms (including wildcards) will be removed
943807
-from the default set instead of replacing them.
943807
+from the built-in openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq ^
943807
 character, then the specified algorithms will be placed at the head of the
943807
-default set.
943807
-The default for this option is:
943807
-.Bd -literal -offset 3n
943807
-ssh-ed25519-cert-v01@openssh.com,
943807
-ecdsa-sha2-nistp256-cert-v01@openssh.com,
943807
-ecdsa-sha2-nistp384-cert-v01@openssh.com,
943807
-ecdsa-sha2-nistp521-cert-v01@openssh.com,
943807
-sk-ssh-ed25519-cert-v01@openssh.com,
943807
-sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,
943807
-rsa-sha2-512-cert-v01@openssh.com,
943807
-rsa-sha2-256-cert-v01@openssh.com,
943807
-ssh-rsa-cert-v01@openssh.com,
943807
-ssh-ed25519,
943807
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
943807
-sk-ssh-ed25519@openssh.com,
943807
-sk-ecdsa-sha2-nistp256@openssh.com,
943807
-rsa-sha2-512,rsa-sha2-256,ssh-rsa
943807
-.Ed
943807
+built-in openssh default set.
943807
 .Pp
943807
 The list of available signature algorithms may also be obtained using
943807
 .Qq ssh -Q PubkeyAcceptedAlgorithms .
39b801
diff --color -ru a/sshd_config.5 b/sshd_config.5
39b801
--- a/sshd_config.5	2022-07-12 15:05:22.535012771 +0200
39b801
+++ b/sshd_config.5	2022-07-12 15:15:33.394809258 +0200
39b801
@@ -373,17 +373,13 @@
943807
 then no banner is displayed.
943807
 By default, no banner is displayed.
943807
 .It Cm CASignatureAlgorithms
943807
+The default is handled system-wide by
943807
+.Xr crypto-policies 7 .
39b801
+Information about defaults, how to modify the defaults and how to customize existing policies with sub-policies are present in manual page
943807
+.Xr update-crypto-policies 8 .
943807
+.Pp
943807
 Specifies which algorithms are allowed for signing of certificates
943807
 by certificate authorities (CAs).
943807
-The default is:
943807
-.Bd -literal -offset indent
5dbb6f
-ssh-ed25519,ecdsa-sha2-nistp256,
5dbb6f
-ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
5dbb6f
-sk-ssh-ed25519@openssh.com,
5dbb6f
-sk-ecdsa-sha2-nistp256@openssh.com,
943807
-rsa-sha2-512,rsa-sha2-256
943807
-.Ed
943807
-.Pp
5dbb6f
 If the specified list begins with a
5dbb6f
 .Sq +
5dbb6f
 character, then the specified algorithms will be appended to the default set
39b801
@@ -450,20 +446,25 @@
943807
 indicating not to
943807
 .Xr chroot 2 .
943807
 .It Cm Ciphers
943807
+The default is handled system-wide by
943807
+.Xr crypto-policies 7 .
39b801
+Information about defaults, how to modify the defaults and how to customize existing policies with sub-policies are present in manual page
943807
+.Xr update-crypto-policies 8 .
943807
+.Pp
943807
 Specifies the ciphers allowed.
943807
 Multiple ciphers must be comma-separated.
943807
 If the specified list begins with a
943807
 .Sq +
943807
-character, then the specified ciphers will be appended to the default set
943807
-instead of replacing them.
943807
+character, then the specified ciphers will be appended to the built-in
943807
+openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq -
943807
 character, then the specified ciphers (including wildcards) will be removed
943807
-from the default set instead of replacing them.
943807
+from the built-in openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq ^
943807
 character, then the specified ciphers will be placed at the head of the
943807
-default set.
943807
+built-in openssh default set.
943807
 .Pp
943807
 The supported ciphers are:
943807
 .Pp
39b801
@@ -490,13 +491,6 @@
943807
 chacha20-poly1305@openssh.com
943807
 .El
943807
 .Pp
943807
-The default is:
943807
-.Bd -literal -offset indent
943807
-chacha20-poly1305@openssh.com,
943807
-aes128-ctr,aes192-ctr,aes256-ctr,
943807
-aes128-gcm@openssh.com,aes256-gcm@openssh.com
943807
-.Ed
943807
-.Pp
943807
 The list of available ciphers may also be obtained using
943807
 .Qq ssh -Q cipher .
943807
 .It Cm ClientAliveCountMax
39b801
@@ -685,21 +679,22 @@
943807
 .Cm GSSAPIKeyExchange
943807
 needs to be enabled in the server and also used by the client.
943807
 .It Cm GSSAPIKexAlgorithms
943807
+The default is handled system-wide by
943807
+.Xr crypto-policies 7 .
39b801
+Information about defaults, how to modify the defaults and how to customize existing policies with sub-policies are present in manual page
943807
+.Xr update-crypto-policies 8 .
943807
+.Pp
943807
 The list of key exchange algorithms that are accepted by GSSAPI
943807
 key exchange. Possible values are
943807
 .Bd -literal -offset 3n
943807
-gss-gex-sha1-,
943807
-gss-group1-sha1-,
943807
-gss-group14-sha1-,
943807
-gss-group14-sha256-,
943807
-gss-group16-sha512-,
943807
-gss-nistp256-sha256-,
943807
+gss-gex-sha1-
943807
+gss-group1-sha1-
943807
+gss-group14-sha1-
943807
+gss-group14-sha256-
943807
+gss-group16-sha512-
943807
+gss-nistp256-sha256-
943807
 gss-curve25519-sha256-
943807
 .Ed
943807
-.Pp
943807
-The default is
943807
-.Dq gss-group14-sha256-,gss-group16-sha512-,gss-nistp256-sha256-,
943807
-gss-curve25519-sha256-,gss-group14-sha1-,gss-gex-sha1- .
943807
 This option only applies to connections using GSSAPI.
943807
 .It Cm HostbasedAcceptedAlgorithms
943807
 Specifies the signature algorithms that will be accepted for hostbased
39b801
@@ -799,26 +794,13 @@
943807
 .Ev SSH_AUTH_SOCK
943807
 environment variable.
943807
 .It Cm HostKeyAlgorithms
943807
+The default is handled system-wide by
943807
+.Xr crypto-policies 7 .
39b801
+Information about defaults, how to modify the defaults and how to customize existing policies with sub-policies are present in manual page
943807
+.Xr update-crypto-policies 8 .
943807
+.Pp
943807
 Specifies the host key signature algorithms
943807
 that the server offers.
943807
-The default for this option is:
943807
-.Bd -literal -offset 3n
943807
-ssh-ed25519-cert-v01@openssh.com,
943807
-ecdsa-sha2-nistp256-cert-v01@openssh.com,
943807
-ecdsa-sha2-nistp384-cert-v01@openssh.com,
943807
-ecdsa-sha2-nistp521-cert-v01@openssh.com,
943807
-sk-ssh-ed25519-cert-v01@openssh.com,
943807
-sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,
943807
-rsa-sha2-512-cert-v01@openssh.com,
943807
-rsa-sha2-256-cert-v01@openssh.com,
943807
-ssh-rsa-cert-v01@openssh.com,
943807
-ssh-ed25519,
943807
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
943807
-sk-ssh-ed25519@openssh.com,
943807
-sk-ecdsa-sha2-nistp256@openssh.com,
943807
-rsa-sha2-512,rsa-sha2-256,ssh-rsa
943807
-.Ed
943807
-.Pp
943807
 The list of available signature algorithms may also be obtained using
943807
 .Qq ssh -Q HostKeyAlgorithms .
943807
 .It Cm IgnoreRhosts
39b801
@@ -965,20 +947,25 @@
943807
 The default is
943807
 .Cm yes .
943807
 .It Cm KexAlgorithms
943807
+The default is handled system-wide by
943807
+.Xr crypto-policies 7 .
39b801
+Information about defaults, how to modify the defaults and how to customize existing policies with sub-policies are present in manual page
943807
+.Xr update-crypto-policies 8 .
943807
+.Pp
943807
 Specifies the available KEX (Key Exchange) algorithms.
943807
 Multiple algorithms must be comma-separated.
943807
 Alternately if the specified list begins with a
943807
 .Sq +
943807
-character, then the specified methods will be appended to the default set
943807
-instead of replacing them.
943807
+character, then the specified methods will be appended to the built-in
943807
+openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq -
943807
 character, then the specified methods (including wildcards) will be removed
943807
-from the default set instead of replacing them.
943807
+from the built-in openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq ^
943807
 character, then the specified methods will be placed at the head of the
943807
-default set.
943807
+built-in openssh default set.
943807
 The supported algorithms are:
943807
 .Pp
943807
 .Bl -item -compact -offset indent
39b801
@@ -1010,15 +997,6 @@
943807
 sntrup761x25519-sha512@openssh.com
943807
 .El
943807
 .Pp
943807
-The default is:
943807
-.Bd -literal -offset indent
943807
-curve25519-sha256,curve25519-sha256@libssh.org,
943807
-ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,
943807
-diffie-hellman-group-exchange-sha256,
943807
-diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,
943807
-diffie-hellman-group14-sha256
943807
-.Ed
943807
-.Pp
943807
 The list of available key exchange algorithms may also be obtained using
943807
 .Qq ssh -Q KexAlgorithms .
943807
 .It Cm ListenAddress
39b801
@@ -1104,21 +1082,26 @@
943807
 file.
943807
 This option is intended for debugging and no overrides are enabled by default.
943807
 .It Cm MACs
943807
+The default is handled system-wide by
943807
+.Xr crypto-policies 7 .
39b801
+Information about defaults, how to modify the defaults and how to customize existing policies with sub-policies are present in manual page
943807
+.Xr update-crypto-policies 8 .
943807
+.Pp
943807
 Specifies the available MAC (message authentication code) algorithms.
943807
 The MAC algorithm is used for data integrity protection.
943807
 Multiple algorithms must be comma-separated.
943807
 If the specified list begins with a
943807
 .Sq +
943807
-character, then the specified algorithms will be appended to the default set
943807
-instead of replacing them.
943807
+character, then the specified algorithms will be appended to the built-in
943807
+openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq -
943807
 character, then the specified algorithms (including wildcards) will be removed
943807
-from the default set instead of replacing them.
943807
+from the built-in openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq ^
943807
 character, then the specified algorithms will be placed at the head of the
943807
-default set.
943807
+built-in openssh default set.
943807
 .Pp
943807
 The algorithms that contain
943807
 .Qq -etm
39b801
@@ -1161,15 +1144,6 @@
943807
 umac-128-etm@openssh.com
943807
 .El
943807
 .Pp
943807
-The default is:
943807
-.Bd -literal -offset indent
943807
-umac-64-etm@openssh.com,umac-128-etm@openssh.com,
943807
-hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,
943807
-hmac-sha1-etm@openssh.com,
943807
-umac-64@openssh.com,umac-128@openssh.com,
943807
-hmac-sha2-256,hmac-sha2-512,hmac-sha1
943807
-.Ed
943807
-.Pp
943807
 The list of available MAC algorithms may also be obtained using
943807
 .Qq ssh -Q mac .
943807
 .It Cm Match
39b801
@@ -1548,37 +1522,25 @@
943807
 The default is
943807
 .Cm yes .
943807
 .It Cm PubkeyAcceptedAlgorithms
943807
+The default is handled system-wide by
943807
+.Xr crypto-policies 7 .
39b801
+Information about defaults, how to modify the defaults and how to customize existing policies with sub-policies are present in manual page
943807
+.Xr update-crypto-policies 8 .
943807
+.Pp
943807
 Specifies the signature algorithms that will be accepted for public key
943807
 authentication as a list of comma-separated patterns.
943807
 Alternately if the specified list begins with a
943807
 .Sq +
943807
-character, then the specified algorithms will be appended to the default set
943807
-instead of replacing them.
943807
+character, then the specified algorithms will be appended to the built-in
943807
+openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq -
943807
 character, then the specified algorithms (including wildcards) will be removed
943807
-from the default set instead of replacing them.
943807
+from the built-in openssh default set instead of replacing them.
943807
 If the specified list begins with a
943807
 .Sq ^
943807
 character, then the specified algorithms will be placed at the head of the
943807
-default set.
943807
-The default for this option is:
943807
-.Bd -literal -offset 3n
943807
-ssh-ed25519-cert-v01@openssh.com,
943807
-ecdsa-sha2-nistp256-cert-v01@openssh.com,
943807
-ecdsa-sha2-nistp384-cert-v01@openssh.com,
943807
-ecdsa-sha2-nistp521-cert-v01@openssh.com,
943807
-sk-ssh-ed25519-cert-v01@openssh.com,
943807
-sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,
943807
-rsa-sha2-512-cert-v01@openssh.com,
943807
-rsa-sha2-256-cert-v01@openssh.com,
943807
-ssh-rsa-cert-v01@openssh.com,
943807
-ssh-ed25519,
943807
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
943807
-sk-ssh-ed25519@openssh.com,
943807
-sk-ecdsa-sha2-nistp256@openssh.com,
943807
-rsa-sha2-512,rsa-sha2-256,ssh-rsa
943807
-.Ed
943807
+built-in openssh default set.
943807
 .Pp
943807
 The list of available signature algorithms may also be obtained using
943807
 .Qq ssh -Q PubkeyAcceptedAlgorithms .