vishalmishra434 / rpms / openssh

Forked from rpms/openssh a month ago
Clone
Dmitry Belyavskiy 8f4d19
diff -up openssh-8.7p1/ssh_config.5.crypto-policies openssh-8.7p1/ssh_config.5
Dmitry Belyavskiy 8f4d19
--- openssh-8.7p1/ssh_config.5.crypto-policies	2021-08-30 13:29:00.174292872 +0200
Dmitry Belyavskiy 8f4d19
+++ openssh-8.7p1/ssh_config.5	2021-08-30 13:31:32.009548808 +0200
Dmitry Belyavskiy 8f4d19
@@ -373,17 +373,13 @@ or
Dmitry Belyavskiy 7b76af
 causes no CNAMEs to be considered for canonicalization.
Dmitry Belyavskiy 7b76af
 This is the default behaviour.
Jakub Jelen 51f5c1
 .It Cm CASignatureAlgorithms
Jakub Jelen a84805
+The default is handled system-wide by
Jakub Jelen a84805
+.Xr crypto-policies 7 .
Jakub Jelen a84805
+To see the defaults and how to modify this default, see manual page
Jakub Jelen a84805
+.Xr update-crypto-policies 8 .
Jakub Jelen a84805
+.Pp
Jakub Jelen 51f5c1
 Specifies which algorithms are allowed for signing of certificates
Jakub Jelen 51f5c1
 by certificate authorities (CAs).
Jakub Jelen 51f5c1
-The default is:
Jakub Jelen 51f5c1
-.Bd -literal -offset indent
Dmitry Belyavskiy 8f4d19
-ssh-ed25519,ecdsa-sha2-nistp256,
Dmitry Belyavskiy 8f4d19
-ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
Dmitry Belyavskiy 8f4d19
-sk-ssh-ed25519@openssh.com,
Dmitry Belyavskiy 8f4d19
-sk-ecdsa-sha2-nistp256@openssh.com,
Dmitry Belyavskiy f32b84
-rsa-sha2-512,rsa-sha2-256
Jakub Jelen 51f5c1
-.Ed
Jakub Jelen 51f5c1
-.Pp
Dmitry Belyavskiy 8f4d19
 If the specified list begins with a
Dmitry Belyavskiy 8f4d19
 .Sq +
Dmitry Belyavskiy 8f4d19
 character, then the specified algorithms will be appended to the default set
Dmitry Belyavskiy 8f4d19
@@ -445,20 +441,25 @@ If the option is set to
Jakub Jelen 25c16c
 (the default),
Jakub Jelen a84805
 the check will not be executed.
Jakub Jelen a84805
 .It Cm Ciphers
Jakub Jelen 51f5c1
+The default is handled system-wide by
Jakub Jelen 51f5c1
+.Xr crypto-policies 7 .
Jakub Jelen 51f5c1
+To see the defaults and how to modify this default, see manual page
Jakub Jelen 51f5c1
+.Xr update-crypto-policies 8 .
Jakub Jelen 51f5c1
+.Pp
Jakub Jelen a84805
 Specifies the ciphers allowed and their order of preference.
Jakub Jelen a84805
 Multiple ciphers must be comma-separated.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq +
Jakub Jelen a84805
-character, then the specified ciphers will be appended to the default set
Jakub Jelen 9c8896
-instead of replacing them.
Jakub Jelen 9c8896
+character, then the specified ciphers will be appended to the built-in
Jakub Jelen 9c8896
+openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq -
Jakub Jelen a84805
 character, then the specified ciphers (including wildcards) will be removed
Jakub Jelen a84805
-from the default set instead of replacing them.
Jakub Jelen 9c8896
+from the built-in openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq ^
Jakub Jelen a84805
 character, then the specified ciphers will be placed at the head of the
Jakub Jelen a84805
-default set.
Jakub Jelen 9c8896
+built-in openssh default set.
Jakub Jelen a84805
 .Pp
Jakub Jelen a84805
 The supported ciphers are:
Jakub Jelen a84805
 .Bd -literal -offset indent
Dmitry Belyavskiy 8f4d19
@@ -474,13 +475,6 @@ aes256-gcm@openssh.com
Jakub Jelen 6caa97
 chacha20-poly1305@openssh.com
Jakub Jelen 6caa97
 .Ed
Jakub Jelen 6caa97
 .Pp
Jakub Jelen 6caa97
-The default is:
Jakub Jelen 6caa97
-.Bd -literal -offset indent
Jakub Jelen 6caa97
-chacha20-poly1305@openssh.com,
Jakub Jelen 6caa97
-aes128-ctr,aes192-ctr,aes256-ctr,
Jakub Jelen 6caa97
-aes128-gcm@openssh.com,aes256-gcm@openssh.com
Jakub Jelen 6caa97
-.Ed
Jakub Jelen a84805
-.Pp
Jakub Jelen a84805
 The list of available ciphers may also be obtained using
Jakub Jelen a84805
 .Qq ssh -Q cipher .
Jakub Jelen a84805
 .It Cm ClearAllForwardings
Dmitry Belyavskiy 8f4d19
@@ -874,6 +868,11 @@ command line will be passed untouched to
Jakub Jelen a84805
 The default is
Jakub Jelen a84805
 .Dq no .
Jakub Jelen a84805
 .It Cm GSSAPIKexAlgorithms
Jakub Jelen 6caa97
+The default is handled system-wide by
Jakub Jelen 6caa97
+.Xr crypto-policies 7 .
Jakub Jelen fdbd5b
+To see the defaults and how to modify this default, see manual page
Jakub Jelen 6caa97
+.Xr update-crypto-policies 8 .
Jakub Jelen a84805
+.Pp
Jakub Jelen a84805
 The list of key exchange algorithms that are offered for GSSAPI
Jakub Jelen a84805
 key exchange. Possible values are
Jakub Jelen a84805
 .Bd -literal -offset 3n
Dmitry Belyavskiy 8f4d19
@@ -886,10 +885,8 @@ gss-nistp256-sha256-,
Jakub Jelen 6caa97
 gss-curve25519-sha256-
Jakub Jelen 6caa97
 .Ed
Jakub Jelen 6caa97
 .Pp
Jakub Jelen 6caa97
-The default is
Jakub Jelen 1cc7c8
-.Dq gss-group14-sha256-,gss-group16-sha512-,gss-nistp256-sha256-,
Jakub Jelen 1cc7c8
-gss-curve25519-sha256-,gss-group14-sha1-,gss-gex-sha1- .
Jakub Jelen a84805
 This option only applies to connections using GSSAPI.
Jakub Jelen a84805
+.Pp
Jakub Jelen a84805
 .It Cm HashKnownHosts
Jakub Jelen a84805
 Indicates that
Jakub Jelen a84805
 .Xr ssh 1
Dmitry Belyavskiy 8f4d19
@@ -1219,29 +1216,25 @@ it may be zero or more of:
Jakub Jelen a84805
 and
Jakub Jelen a84805
 .Cm pam .
Jakub Jelen a84805
 .It Cm KexAlgorithms
Jakub Jelen 6caa97
+The default is handled system-wide by
Jakub Jelen 6caa97
+.Xr crypto-policies 7 .
Jakub Jelen fdbd5b
+To see the defaults and how to modify this default, see manual page
Jakub Jelen 6caa97
+.Xr update-crypto-policies 8 .
Jakub Jelen a84805
+.Pp
Jakub Jelen a84805
 Specifies the available KEX (Key Exchange) algorithms.
Jakub Jelen a84805
 Multiple algorithms must be comma-separated.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq +
Dmitry Belyavskiy 7b76af
-character, then the specified algorithms will be appended to the default set
Jakub Jelen 9c8896
-instead of replacing them.
Dmitry Belyavskiy 7b76af
+character, then the specified algorithms will be appended to the built-in
Jakub Jelen 9c8896
+openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq -
Dmitry Belyavskiy 7b76af
 character, then the specified algorithms (including wildcards) will be removed
Jakub Jelen a84805
-from the default set instead of replacing them.
Jakub Jelen 9c8896
+from the built-in openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen 36fef5
 .Sq ^
Dmitry Belyavskiy 7b76af
 character, then the specified algorithms will be placed at the head of the
Jakub Jelen a84805
-default set.
Jakub Jelen 6caa97
-The default is:
Jakub Jelen 6caa97
-.Bd -literal -offset indent
Jakub Jelen 6caa97
-curve25519-sha256,curve25519-sha256@libssh.org,
Jakub Jelen 6caa97
-ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,
Jakub Jelen 6caa97
-diffie-hellman-group-exchange-sha256,
Jakub Jelen 6caa97
-diffie-hellman-group16-sha512,
Jakub Jelen 6caa97
-diffie-hellman-group18-sha512,
Jakub Jelen 51f5c1
-diffie-hellman-group14-sha256
Jakub Jelen 6caa97
-.Ed
Jakub Jelen 9c8896
+built-in openssh default set.
Jakub Jelen a84805
 .Pp
Jakub Jelen a84805
 The list of available key exchange algorithms may also be obtained using
Jakub Jelen a84805
 .Qq ssh -Q kex .
Dmitry Belyavskiy 8f4d19
@@ -1351,37 +1344,33 @@ function, and all code in the
Jakub Jelen 25c16c
 file.
Jakub Jelen 25c16c
 This option is intended for debugging and no overrides are enabled by default.
Jakub Jelen a84805
 .It Cm MACs
Jakub Jelen 6caa97
+The default is handled system-wide by
Jakub Jelen 6caa97
+.Xr crypto-policies 7 .
Jakub Jelen fdbd5b
+To see the defaults and how to modify this default, see manual page
Jakub Jelen 6caa97
+.Xr update-crypto-policies 8 .
Jakub Jelen a84805
+.Pp
Jakub Jelen a84805
 Specifies the MAC (message authentication code) algorithms
Jakub Jelen a84805
 in order of preference.
Jakub Jelen a84805
 The MAC algorithm is used for data integrity protection.
Jakub Jelen a84805
 Multiple algorithms must be comma-separated.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq +
Jakub Jelen a84805
-character, then the specified algorithms will be appended to the default set
Jakub Jelen 9c8896
-instead of replacing them.
Jakub Jelen 9c8896
+character, then the specified algorithms will be appended to the built-in
Jakub Jelen 9c8896
+openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq -
Jakub Jelen a84805
 character, then the specified algorithms (including wildcards) will be removed
Jakub Jelen a84805
-from the default set instead of replacing them.
Jakub Jelen 9c8896
+from the built-in openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq ^
Jakub Jelen a84805
 character, then the specified algorithms will be placed at the head of the
Jakub Jelen a84805
-default set.
Jakub Jelen 9c8896
+built-in openssh default set.
Jakub Jelen 6caa97
 .Pp
Jakub Jelen a84805
 The algorithms that contain
Jakub Jelen a84805
 .Qq -etm
Jakub Jelen 6caa97
 calculate the MAC after encryption (encrypt-then-mac).
Jakub Jelen 6caa97
 These are considered safer and their use recommended.
Jakub Jelen 6caa97
 .Pp
Jakub Jelen 6caa97
-The default is:
Jakub Jelen 6caa97
-.Bd -literal -offset indent
Jakub Jelen 6caa97
-umac-64-etm@openssh.com,umac-128-etm@openssh.com,
Jakub Jelen 6caa97
-hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,
Jakub Jelen 6caa97
-hmac-sha1-etm@openssh.com,
Jakub Jelen 6caa97
-umac-64@openssh.com,umac-128@openssh.com,
Jakub Jelen 6caa97
-hmac-sha2-256,hmac-sha2-512,hmac-sha1
Jakub Jelen 6caa97
-.Ed
Jakub Jelen a84805
-.Pp
Jakub Jelen a84805
 The list of available MAC algorithms may also be obtained using
Jakub Jelen a84805
 .Qq ssh -Q mac .
Jakub Jelen a84805
 .It Cm NoHostAuthenticationForLocalhost
Dmitry Belyavskiy 7b76af
@@ -1553,36 +1542,25 @@ instead of continuing to execute and pas
Jakub Jelen a84805
 The default is
Jakub Jelen a84805
 .Cm no .
Jakub Jelen 25c16c
 .It Cm PubkeyAcceptedAlgorithms
Jakub Jelen 6caa97
+The default is handled system-wide by
Jakub Jelen 6caa97
+.Xr crypto-policies 7 .
Jakub Jelen fdbd5b
+To see the defaults and how to modify this default, see manual page
Jakub Jelen 6caa97
+.Xr update-crypto-policies 8 .
Jakub Jelen a84805
+.Pp
Jakub Jelen 25c16c
 Specifies the signature algorithms that will be used for public key
Jakub Jelen 25c16c
 authentication as a comma-separated list of patterns.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq +
Jakub Jelen 25c16c
-character, then the algorithms after it will be appended to the default
Jakub Jelen 9c8896
-instead of replacing it.
Jakub Jelen 25c16c
+character, then the algorithms after it will be appended to the built-in
Jakub Jelen 9c8896
+openssh default instead of replacing it.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq -
Jakub Jelen 25c16c
 character, then the specified algorithms (including wildcards) will be removed
Jakub Jelen a84805
-from the default set instead of replacing them.
Jakub Jelen 9c8896
+from the built-in openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen 36fef5
 .Sq ^
Jakub Jelen 25c16c
 character, then the specified algorithms will be placed at the head of the
Jakub Jelen a84805
-default set.
Jakub Jelen 6caa97
-The default for this option is:
Jakub Jelen 6caa97
-.Bd -literal -offset 3n
Jakub Jelen 25c16c
-ssh-ed25519-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ecdsa-sha2-nistp256-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ecdsa-sha2-nistp384-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ecdsa-sha2-nistp521-cert-v01@openssh.com,
Jakub Jelen 51f5c1
-sk-ssh-ed25519-cert-v01@openssh.com,
Jakub Jelen 25c16c
-sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,
Jakub Jelen 51f5c1
-rsa-sha2-512-cert-v01@openssh.com,
Jakub Jelen 51f5c1
-rsa-sha2-256-cert-v01@openssh.com,
Jakub Jelen 25c16c
-ssh-ed25519,
Jakub Jelen 6caa97
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
Jakub Jelen 25c16c
-sk-ssh-ed25519@openssh.com,
Jakub Jelen 51f5c1
-sk-ecdsa-sha2-nistp256@openssh.com,
Dmitry Belyavskiy 7b76af
-rsa-sha2-512,rsa-sha2-256
Jakub Jelen 6caa97
-.Ed
Jakub Jelen 9c8896
+built-in openssh default set.
Jakub Jelen 6caa97
 .Pp
Jakub Jelen 25c16c
 The list of available signature algorithms may also be obtained using
Jakub Jelen 25c16c
 .Qq ssh -Q PubkeyAcceptedAlgorithms .
Dmitry Belyavskiy 8f4d19
diff -up openssh-8.7p1/sshd_config.5.crypto-policies openssh-8.7p1/sshd_config.5
Dmitry Belyavskiy 8f4d19
--- openssh-8.7p1/sshd_config.5.crypto-policies	2021-08-30 13:29:00.157292731 +0200
Dmitry Belyavskiy 8f4d19
+++ openssh-8.7p1/sshd_config.5	2021-08-30 13:32:16.263918533 +0200
Dmitry Belyavskiy 8f4d19
@@ -373,17 +373,13 @@ If the argument is
Jakub Jelen a84805
 then no banner is displayed.
Jakub Jelen a84805
 By default, no banner is displayed.
Jakub Jelen 51f5c1
 .It Cm CASignatureAlgorithms
Jakub Jelen a84805
+The default is handled system-wide by
Jakub Jelen a84805
+.Xr crypto-policies 7 .
Jakub Jelen a84805
+To see the defaults and how to modify this default, see manual page
Jakub Jelen a84805
+.Xr update-crypto-policies 8 .
Jakub Jelen a84805
+.Pp
Jakub Jelen 51f5c1
 Specifies which algorithms are allowed for signing of certificates
Jakub Jelen 51f5c1
 by certificate authorities (CAs).
Jakub Jelen 51f5c1
-The default is:
Jakub Jelen 51f5c1
-.Bd -literal -offset indent
Dmitry Belyavskiy 8f4d19
-ssh-ed25519,ecdsa-sha2-nistp256,
Dmitry Belyavskiy 8f4d19
-ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
Dmitry Belyavskiy 8f4d19
-sk-ssh-ed25519@openssh.com,
Dmitry Belyavskiy 8f4d19
-sk-ecdsa-sha2-nistp256@openssh.com,
Dmitry Belyavskiy f32b84
-rsa-sha2-512,rsa-sha2-256
Jakub Jelen 51f5c1
-.Ed
Jakub Jelen 51f5c1
-.Pp
Dmitry Belyavskiy 8f4d19
 If the specified list begins with a
Dmitry Belyavskiy 8f4d19
 .Sq +
Dmitry Belyavskiy 8f4d19
 character, then the specified algorithms will be appended to the default set
Dmitry Belyavskiy 8f4d19
@@ -450,20 +446,25 @@ The default is
Jakub Jelen a84805
 indicating not to
Jakub Jelen a84805
 .Xr chroot 2 .
Jakub Jelen a84805
 .It Cm Ciphers
Jakub Jelen 51f5c1
+The default is handled system-wide by
Jakub Jelen 51f5c1
+.Xr crypto-policies 7 .
Jakub Jelen 51f5c1
+To see the defaults and how to modify this default, see manual page
Jakub Jelen 51f5c1
+.Xr update-crypto-policies 8 .
Jakub Jelen 51f5c1
+.Pp
Jakub Jelen a84805
 Specifies the ciphers allowed.
Jakub Jelen a84805
 Multiple ciphers must be comma-separated.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq +
Jakub Jelen a84805
-character, then the specified ciphers will be appended to the default set
Jakub Jelen 9c8896
-instead of replacing them.
Jakub Jelen 9c8896
+character, then the specified ciphers will be appended to the built-in
Jakub Jelen 9c8896
+openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq -
Jakub Jelen a84805
 character, then the specified ciphers (including wildcards) will be removed
Jakub Jelen a84805
-from the default set instead of replacing them.
Jakub Jelen 9c8896
+from the built-in openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq ^
Jakub Jelen a84805
 character, then the specified ciphers will be placed at the head of the
Jakub Jelen a84805
-default set.
Jakub Jelen 9c8896
+built-in openssh default set.
Jakub Jelen a84805
 .Pp
Jakub Jelen a84805
 The supported ciphers are:
Jakub Jelen a84805
 .Pp
Dmitry Belyavskiy 8f4d19
@@ -490,13 +491,6 @@ aes256-gcm@openssh.com
Jakub Jelen 6caa97
 chacha20-poly1305@openssh.com
Jakub Jelen 6caa97
 .El
Jakub Jelen 6caa97
 .Pp
Jakub Jelen 6caa97
-The default is:
Jakub Jelen 6caa97
-.Bd -literal -offset indent
Jakub Jelen 6caa97
-chacha20-poly1305@openssh.com,
Jakub Jelen 6caa97
-aes128-ctr,aes192-ctr,aes256-ctr,
Jakub Jelen 6caa97
-aes128-gcm@openssh.com,aes256-gcm@openssh.com
Jakub Jelen 6caa97
-.Ed
Jakub Jelen a84805
-.Pp
Jakub Jelen a84805
 The list of available ciphers may also be obtained using
Jakub Jelen a84805
 .Qq ssh -Q cipher .
Jakub Jelen a84805
 .It Cm ClientAliveCountMax
Dmitry Belyavskiy 8f4d19
@@ -685,21 +679,22 @@ For this to work
Jakub Jelen a84805
 .Cm GSSAPIKeyExchange
Jakub Jelen a84805
 needs to be enabled in the server and also used by the client.
Jakub Jelen a84805
 .It Cm GSSAPIKexAlgorithms
Jakub Jelen 6caa97
+The default is handled system-wide by
Jakub Jelen 6caa97
+.Xr crypto-policies 7 .
Jakub Jelen fdbd5b
+To see the defaults and how to modify this default, see manual page
Jakub Jelen 6caa97
+.Xr update-crypto-policies 8 .
Jakub Jelen a84805
+.Pp
Jakub Jelen a84805
 The list of key exchange algorithms that are accepted by GSSAPI
Jakub Jelen a84805
 key exchange. Possible values are
Jakub Jelen a84805
 .Bd -literal -offset 3n
Jakub Jelen a84805
-gss-gex-sha1-,
Jakub Jelen a84805
-gss-group1-sha1-,
Jakub Jelen a84805
-gss-group14-sha1-,
Jakub Jelen a84805
-gss-group14-sha256-,
Jakub Jelen a84805
-gss-group16-sha512-,
Jakub Jelen a84805
-gss-nistp256-sha256-,
Jakub Jelen a84805
+gss-gex-sha1-
Jakub Jelen a84805
+gss-group1-sha1-
Jakub Jelen a84805
+gss-group14-sha1-
Jakub Jelen a84805
+gss-group14-sha256-
Jakub Jelen a84805
+gss-group16-sha512-
Jakub Jelen a84805
+gss-nistp256-sha256-
Jakub Jelen 6caa97
 gss-curve25519-sha256-
Jakub Jelen 6caa97
 .Ed
Jakub Jelen a84805
-.Pp
Jakub Jelen 6caa97
-The default is
Jakub Jelen 1cc7c8
-.Dq gss-group14-sha256-,gss-group16-sha512-,gss-nistp256-sha256-,
Jakub Jelen 1cc7c8
-gss-curve25519-sha256-,gss-group14-sha1-,gss-gex-sha1- .
Jakub Jelen 1cc7c8
 This option only applies to connections using GSSAPI.
Jakub Jelen 25c16c
 .It Cm HostbasedAcceptedAlgorithms
Jakub Jelen 25c16c
 Specifies the signature algorithms that will be accepted for hostbased
Dmitry Belyavskiy 8f4d19
@@ -799,26 +794,13 @@ is specified, the location of the socket
Jakub Jelen a84805
 .Ev SSH_AUTH_SOCK
Jakub Jelen a84805
 environment variable.
Jakub Jelen 6caa97
 .It Cm HostKeyAlgorithms
Jakub Jelen a84805
+The default is handled system-wide by
Jakub Jelen a84805
+.Xr crypto-policies 7 .
Jakub Jelen a84805
+To see the defaults and how to modify this default, see manual page
Jakub Jelen a84805
+.Xr update-crypto-policies 8 .
Jakub Jelen a84805
+.Pp
Jakub Jelen 25c16c
 Specifies the host key signature algorithms
Jakub Jelen 6caa97
 that the server offers.
Jakub Jelen 6caa97
-The default for this option is:
Jakub Jelen 6caa97
-.Bd -literal -offset 3n
Jakub Jelen 25c16c
-ssh-ed25519-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ecdsa-sha2-nistp256-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ecdsa-sha2-nistp384-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ecdsa-sha2-nistp521-cert-v01@openssh.com,
Jakub Jelen 51f5c1
-sk-ssh-ed25519-cert-v01@openssh.com,
Jakub Jelen 25c16c
-sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,
Jakub Jelen 51f5c1
-rsa-sha2-512-cert-v01@openssh.com,
Jakub Jelen 51f5c1
-rsa-sha2-256-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ssh-rsa-cert-v01@openssh.com,
Jakub Jelen 25c16c
-ssh-ed25519,
Jakub Jelen 6caa97
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
Jakub Jelen 25c16c
-sk-ssh-ed25519@openssh.com,
Jakub Jelen 51f5c1
-sk-ecdsa-sha2-nistp256@openssh.com,
Jakub Jelen 51f5c1
-rsa-sha2-512,rsa-sha2-256,ssh-rsa
Jakub Jelen 6caa97
-.Ed
Jakub Jelen a84805
-.Pp
Jakub Jelen 25c16c
 The list of available signature algorithms may also be obtained using
Jakub Jelen a84805
 .Qq ssh -Q HostKeyAlgorithms .
Jakub Jelen a84805
 .It Cm IgnoreRhosts
Dmitry Belyavskiy 8f4d19
@@ -965,20 +947,25 @@ Specifies whether to look at .k5login fi
Jakub Jelen a84805
 The default is
Jakub Jelen a84805
 .Cm yes .
Jakub Jelen a84805
 .It Cm KexAlgorithms
Jakub Jelen 6caa97
+The default is handled system-wide by
Jakub Jelen 6caa97
+.Xr crypto-policies 7 .
Jakub Jelen fdbd5b
+To see the defaults and how to modify this default, see manual page
Jakub Jelen 6caa97
+.Xr update-crypto-policies 8 .
Jakub Jelen a84805
+.Pp
Jakub Jelen a84805
 Specifies the available KEX (Key Exchange) algorithms.
Jakub Jelen a84805
 Multiple algorithms must be comma-separated.
Jakub Jelen a84805
 Alternately if the specified list begins with a
Jakub Jelen a84805
 .Sq +
Dmitry Belyavskiy 7b76af
-character, then the specified algorithms will be appended to the default set
Jakub Jelen 9c8896
-instead of replacing them.
Dmitry Belyavskiy 7b76af
+character, then the specified algorithms will be appended to the built-in
Jakub Jelen 9c8896
+openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq -
Dmitry Belyavskiy 7b76af
 character, then the specified algorithms (including wildcards) will be removed
Jakub Jelen a84805
-from the default set instead of replacing them.
Jakub Jelen 9c8896
+from the built-in openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq ^
Dmitry Belyavskiy 7b76af
 character, then the specified algorithms will be placed at the head of the
Jakub Jelen a84805
-default set.
Jakub Jelen 9c8896
+built-in openssh default set.
Jakub Jelen a84805
 The supported algorithms are:
Jakub Jelen 6caa97
 .Pp
Jakub Jelen a84805
 .Bl -item -compact -offset indent
Dmitry Belyavskiy 8f4d19
@@ -1010,15 +997,6 @@ ecdh-sha2-nistp521
Jakub Jelen 25c16c
 sntrup761x25519-sha512@openssh.com
Jakub Jelen 6caa97
 .El
Jakub Jelen 6caa97
 .Pp
Jakub Jelen 6caa97
-The default is:
Jakub Jelen 6caa97
-.Bd -literal -offset indent
Jakub Jelen 6caa97
-curve25519-sha256,curve25519-sha256@libssh.org,
Jakub Jelen 6caa97
-ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,
Jakub Jelen 6caa97
-diffie-hellman-group-exchange-sha256,
Jakub Jelen 6caa97
-diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,
Jakub Jelen 51f5c1
-diffie-hellman-group14-sha256
Jakub Jelen 6caa97
-.Ed
Jakub Jelen a84805
-.Pp
Jakub Jelen a84805
 The list of available key exchange algorithms may also be obtained using
Jakub Jelen a84805
 .Qq ssh -Q KexAlgorithms .
Jakub Jelen a84805
 .It Cm ListenAddress
Dmitry Belyavskiy 8f4d19
@@ -1104,21 +1082,26 @@ function, and all code in the
Jakub Jelen 25c16c
 file.
Jakub Jelen 25c16c
 This option is intended for debugging and no overrides are enabled by default.
Jakub Jelen a84805
 .It Cm MACs
Jakub Jelen 6caa97
+The default is handled system-wide by
Jakub Jelen 6caa97
+.Xr crypto-policies 7 .
Jakub Jelen fdbd5b
+To see the defaults and how to modify this default, see manual page
Jakub Jelen 6caa97
+.Xr update-crypto-policies 8 .
Jakub Jelen a84805
+.Pp
Jakub Jelen a84805
 Specifies the available MAC (message authentication code) algorithms.
Jakub Jelen a84805
 The MAC algorithm is used for data integrity protection.
Jakub Jelen a84805
 Multiple algorithms must be comma-separated.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq +
Jakub Jelen a84805
-character, then the specified algorithms will be appended to the default set
Jakub Jelen 9c8896
-instead of replacing them.
Jakub Jelen 9c8896
+character, then the specified algorithms will be appended to the built-in
Jakub Jelen 9c8896
+openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq -
Jakub Jelen a84805
 character, then the specified algorithms (including wildcards) will be removed
Jakub Jelen a84805
-from the default set instead of replacing them.
Jakub Jelen 9c8896
+from the built-in openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq ^
Jakub Jelen a84805
 character, then the specified algorithms will be placed at the head of the
Jakub Jelen a84805
-default set.
Jakub Jelen 9c8896
+built-in openssh default set.
Jakub Jelen 6caa97
 .Pp
Jakub Jelen a84805
 The algorithms that contain
Jakub Jelen a84805
 .Qq -etm
Dmitry Belyavskiy 8f4d19
@@ -1161,15 +1144,6 @@ umac-64-etm@openssh.com
Jakub Jelen 6caa97
 umac-128-etm@openssh.com
Jakub Jelen 6caa97
 .El
Jakub Jelen 6caa97
 .Pp
Jakub Jelen 6caa97
-The default is:
Jakub Jelen 6caa97
-.Bd -literal -offset indent
Jakub Jelen 6caa97
-umac-64-etm@openssh.com,umac-128-etm@openssh.com,
Jakub Jelen 6caa97
-hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,
Jakub Jelen 6caa97
-hmac-sha1-etm@openssh.com,
Jakub Jelen 6caa97
-umac-64@openssh.com,umac-128@openssh.com,
Jakub Jelen 6caa97
-hmac-sha2-256,hmac-sha2-512,hmac-sha1
Jakub Jelen 6caa97
-.Ed
Jakub Jelen a84805
-.Pp
Jakub Jelen a84805
 The list of available MAC algorithms may also be obtained using
Jakub Jelen a84805
 .Qq ssh -Q mac .
Jakub Jelen a84805
 .It Cm Match
Dmitry Belyavskiy 8f4d19
@@ -1548,37 +1522,25 @@ or equivalent.)
Jakub Jelen a84805
 The default is
Jakub Jelen a84805
 .Cm yes .
Jakub Jelen 25c16c
 .It Cm PubkeyAcceptedAlgorithms
Jakub Jelen 6caa97
+The default is handled system-wide by
Jakub Jelen 6caa97
+.Xr crypto-policies 7 .
Jakub Jelen fdbd5b
+To see the defaults and how to modify this default, see manual page
Jakub Jelen 6caa97
+.Xr update-crypto-policies 8 .
Jakub Jelen a84805
+.Pp
Jakub Jelen 25c16c
 Specifies the signature algorithms that will be accepted for public key
Jakub Jelen 25c16c
 authentication as a list of comma-separated patterns.
Jakub Jelen a84805
 Alternately if the specified list begins with a
Jakub Jelen a84805
 .Sq +
Jakub Jelen 25c16c
-character, then the specified algorithms will be appended to the default set
Jakub Jelen 9c8896
-instead of replacing them.
Jakub Jelen 25c16c
+character, then the specified algorithms will be appended to the built-in
Jakub Jelen 9c8896
+openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq -
Jakub Jelen 25c16c
 character, then the specified algorithms (including wildcards) will be removed
Jakub Jelen a84805
-from the default set instead of replacing them.
Jakub Jelen 9c8896
+from the built-in openssh default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen 36fef5
 .Sq ^
Jakub Jelen 25c16c
 character, then the specified algorithms will be placed at the head of the
Jakub Jelen a84805
-default set.
Jakub Jelen 6caa97
-The default for this option is:
Jakub Jelen 6caa97
-.Bd -literal -offset 3n
Jakub Jelen 25c16c
-ssh-ed25519-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ecdsa-sha2-nistp256-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ecdsa-sha2-nistp384-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ecdsa-sha2-nistp521-cert-v01@openssh.com,
Jakub Jelen 51f5c1
-sk-ssh-ed25519-cert-v01@openssh.com,
Jakub Jelen 25c16c
-sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,
Jakub Jelen 51f5c1
-rsa-sha2-512-cert-v01@openssh.com,
Jakub Jelen 51f5c1
-rsa-sha2-256-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ssh-rsa-cert-v01@openssh.com,
Jakub Jelen 25c16c
-ssh-ed25519,
Jakub Jelen 6caa97
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
Jakub Jelen 25c16c
-sk-ssh-ed25519@openssh.com,
Jakub Jelen 51f5c1
-sk-ecdsa-sha2-nistp256@openssh.com,
Jakub Jelen 51f5c1
-rsa-sha2-512,rsa-sha2-256,ssh-rsa
Jakub Jelen 6caa97
-.Ed
Jakub Jelen 9c8896
+built-in openssh default set.
Jakub Jelen 6caa97
 .Pp
Jakub Jelen 25c16c
 The list of available signature algorithms may also be obtained using
Jakub Jelen 25c16c
 .Qq ssh -Q PubkeyAcceptedAlgorithms .