vishalmishra434 / rpms / openssh

Forked from rpms/openssh a month ago
Clone
Jakub Jelen a84805
diff -up openssh-8.2p1/ssh_config.5.crypto-policies openssh-8.2p1/ssh_config.5
Jakub Jelen a84805
--- openssh-8.2p1/ssh_config.5.crypto-policies	2020-03-26 14:40:44.546775605 +0100
Jakub Jelen a84805
+++ openssh-8.2p1/ssh_config.5	2020-03-26 14:52:20.700649727 +0100
Jakub Jelen a84805
@@ -359,17 +359,17 @@ or
Jakub Jelen a84805
 .Qq *.c.example.com
Jakub Jelen a84805
 domains.
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
Jakub Jelen 51f5c1
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
Jakub Jelen 51f5c1
-ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
Jakub Jelen 51f5c1
-.Ed
Jakub Jelen 51f5c1
-.Pp
Jakub Jelen 51f5c1
 .Xr ssh 1
Jakub Jelen 51f5c1
 will not accept host certificates signed using algorithms other than those
Jakub Jelen 51f5c1
 specified.
Jakub Jelen 51f5c1
+.Pp
Jakub Jelen a84805
 .It Cm CertificateFile
Jakub Jelen a84805
 Specifies a file from which the user's certificate is read.
Jakub Jelen a84805
 A corresponding private key must be provided separately in order
Jakub Jelen a84805
@@ -424,20 +424,25 @@ If the option is set to
Jakub Jelen a84805
 .Cm no ,
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 a84805
+character, then the specified ciphers will be appended to the built-in default set
Jakub Jelen a84805
 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 a84805
+from the built-in 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 a84805
+built-in default set.
Jakub Jelen a84805
 .Pp
Jakub Jelen a84805
 The supported ciphers are:
Jakub Jelen a84805
 .Bd -literal -offset indent
Jakub Jelen a84805
@@ -453,13 +458,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
Jakub Jelen a84805
@@ -812,6 +810,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
Jakub Jelen a84805
@@ -824,10 +827,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
Jakub Jelen a84805
@@ -1149,29 +1150,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 +
Jakub Jelen a84805
-character, then the specified methods will be appended to the default set
Jakub Jelen a84805
+character, then the specified methods will be appended to the built-in default set
Jakub Jelen a84805
 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 methods (including wildcards) will be removed
Jakub Jelen a84805
-from the default set instead of replacing them.
Jakub Jelen a84805
+from the built-in default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen 36fef5
 .Sq ^
Jakub Jelen 36fef5
 character, then the specified methods 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 a84805
+built-in 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 .
Jakub Jelen a84805
@@ -1231,37 +1228,33 @@ The default is INFO.
Jakub Jelen a84805
 DEBUG and DEBUG1 are equivalent.
Jakub Jelen a84805
 DEBUG2 and DEBUG3 each specify higher levels of verbose output.
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 a84805
+character, then the specified algorithms will be appended to the built-in default set
Jakub Jelen a84805
 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 a84805
+from the built-in 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 a84805
+built-in 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
Jakub Jelen a84805
@@ -1394,36 +1387,25 @@ instead of continuing to execute and pas
Jakub Jelen a84805
 The default is
Jakub Jelen a84805
 .Cm no .
Jakub Jelen a84805
 .It Cm PubkeyAcceptedKeyTypes
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 key types that will be used for public key authentication
Jakub Jelen a84805
 as a comma-separated list of patterns.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq +
Jakub Jelen a84805
-character, then the key types after it will be appended to the default
Jakub Jelen a84805
+character, then the key types after it will be appended to the built-in default
Jakub Jelen a84805
 instead of replacing it.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen a84805
 .Sq -
Jakub Jelen a84805
 character, then the specified key types (including wildcards) will be removed
Jakub Jelen a84805
-from the default set instead of replacing them.
Jakub Jelen a84805
+from the built-in default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen 36fef5
 .Sq ^
Jakub Jelen 36fef5
 character, then the specified key types 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 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-ecdsa-sha2-nistp256-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ssh-ed25519-cert-v01@openssh.com,
Jakub Jelen 51f5c1
-sk-ssh-ed25519-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 6caa97
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
Jakub Jelen 51f5c1
-sk-ecdsa-sha2-nistp256@openssh.com,
Jakub Jelen 51f5c1
-ssh-ed25519,sk-ssh-ed25519@openssh.com,
Jakub Jelen 51f5c1
-rsa-sha2-512,rsa-sha2-256,ssh-rsa
Jakub Jelen 6caa97
-.Ed
Jakub Jelen a84805
+built-in default set.
Jakub Jelen 6caa97
 .Pp
Jakub Jelen 6caa97
 The list of available key types may also be obtained using
Jakub Jelen 51f5c1
 .Qq ssh -Q PubkeyAcceptedKeyTypes .
Jakub Jelen a84805
diff -up openssh-8.2p1/sshd_config.5.crypto-policies openssh-8.2p1/sshd_config.5
Jakub Jelen a84805
--- openssh-8.2p1/sshd_config.5.crypto-policies	2020-03-26 14:40:44.530775355 +0100
Jakub Jelen a84805
+++ openssh-8.2p1/sshd_config.5	2020-03-26 14:48:56.732468099 +0100
Jakub Jelen a84805
@@ -375,16 +375,16 @@ 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
Jakub Jelen 51f5c1
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
Jakub Jelen 51f5c1
-ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
Jakub Jelen 51f5c1
-.Ed
Jakub Jelen 51f5c1
-.Pp
Jakub Jelen 51f5c1
 Certificates signed using other algorithms will not be accepted for
Jakub Jelen 51f5c1
 public key or host-based authentication.
Jakub Jelen 51f5c1
+.Pp
Jakub Jelen a84805
 .It Cm ChallengeResponseAuthentication
Jakub Jelen a84805
 Specifies whether challenge-response authentication is allowed (e.g. via
Jakub Jelen a84805
 PAM or through authentication styles supported in
Jakub Jelen a84805
@@ -446,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 a84805
+character, then the specified ciphers will be appended to the built-in default set
Jakub Jelen a84805
 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 a84805
+from the built-in 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 a84805
+built-in default set.
Jakub Jelen a84805
 .Pp
Jakub Jelen a84805
 The supported ciphers are:
Jakub Jelen a84805
 .Pp
Jakub Jelen a84805
@@ -486,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
Jakub Jelen a84805
@@ -681,22 +679,24 @@ 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 a84805
+.Pp
Jakub Jelen 6caa97
 .It Cm HostbasedAcceptedKeyTypes
Jakub Jelen 6caa97
 Specifies the key types that will be accepted for hostbased authentication
Jakub Jelen a84805
 as a list of comma-separated patterns.
Jakub Jelen a84805
@@ -793,25 +793,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 6caa97
 Specifies the host key 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 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-ecdsa-sha2-nistp256-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ssh-ed25519-cert-v01@openssh.com,
Jakub Jelen 51f5c1
-sk-ssh-ed25519-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 6caa97
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
Jakub Jelen 51f5c1
-sk-ecdsa-sha2-nistp256@openssh.com,
Jakub Jelen 51f5c1
-ssh-ed25519,sk-ssh-ed25519@openssh.com,
Jakub Jelen 51f5c1
-rsa-sha2-512,rsa-sha2-256,ssh-rsa
Jakub Jelen 6caa97
-.Ed
Jakub Jelen a84805
-.Pp
Jakub Jelen a84805
 The list of available key types may also be obtained using
Jakub Jelen a84805
 .Qq ssh -Q HostKeyAlgorithms .
Jakub Jelen a84805
 .It Cm IgnoreRhosts
Jakub Jelen a84805
@@ -943,20 +931,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 +
Jakub Jelen a84805
-character, then the specified methods will be appended to the default set
Jakub Jelen a84805
+character, then the specified methods will be appended to the built-in default set
Jakub Jelen a84805
 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 methods (including wildcards) will be removed
Jakub Jelen a84805
-from the default set instead of replacing them.
Jakub Jelen a84805
+from the built-in 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 methods will be placed at the head of the
Jakub Jelen a84805
-default set.
Jakub Jelen a84805
+built-in default set.
Jakub Jelen a84805
 The supported algorithms are:
Jakub Jelen 6caa97
 .Pp
Jakub Jelen a84805
 .Bl -item -compact -offset indent
Jakub Jelen a84805
@@ -988,15 +981,6 @@ ecdh-sha2-nistp521
Jakub Jelen 51f5c1
 sntrup4591761x25519-sha512@tinyssh.org
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
Jakub Jelen a84805
@@ -1065,21 +1049,26 @@ DEBUG and DEBUG1 are equivalent.
Jakub Jelen a84805
 DEBUG2 and DEBUG3 each specify higher levels of debugging output.
Jakub Jelen a84805
 Logging with a DEBUG level violates the privacy of users and is not recommended.
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 a84805
+character, then the specified algorithms will be appended to the built-in default set
Jakub Jelen a84805
 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 a84805
+from the built-in 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 a84805
+built-in default set.
Jakub Jelen 6caa97
 .Pp
Jakub Jelen a84805
 The algorithms that contain
Jakub Jelen a84805
 .Qq -etm
Jakub Jelen a84805
@@ -1122,15 +1111,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
Jakub Jelen a84805
@@ -1480,36 +1460,25 @@ or equivalent.)
Jakub Jelen a84805
 The default is
Jakub Jelen a84805
 .Cm yes .
Jakub Jelen a84805
 .It Cm PubkeyAcceptedKeyTypes
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 key types that will be accepted for public key authentication
Jakub Jelen a84805
 as a list of comma-separated patterns.
Jakub Jelen a84805
 Alternately if the specified list begins with a
Jakub Jelen a84805
 .Sq +
Jakub Jelen a84805
-character, then the specified key types will be appended to the default set
Jakub Jelen a84805
+character, then the specified key types will be appended to the built-in default set
Jakub Jelen a84805
 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 key types (including wildcards) will be removed
Jakub Jelen a84805
-from the default set instead of replacing them.
Jakub Jelen a84805
+from the built-in default set instead of replacing them.
Jakub Jelen a84805
 If the specified list begins with a
Jakub Jelen 36fef5
 .Sq ^
Jakub Jelen 36fef5
 character, then the specified key types 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 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-ecdsa-sha2-nistp256-cert-v01@openssh.com,
Jakub Jelen 6caa97
-ssh-ed25519-cert-v01@openssh.com,
Jakub Jelen 51f5c1
-sk-ssh-ed25519-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 6caa97
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
Jakub Jelen 51f5c1
-sk-ecdsa-sha2-nistp256@openssh.com,
Jakub Jelen 51f5c1
-ssh-ed25519,sk-ssh-ed25519@openssh.com,
Jakub Jelen 51f5c1
-rsa-sha2-512,rsa-sha2-256,ssh-rsa
Jakub Jelen 6caa97
-.Ed
Jakub Jelen a84805
+built-in default set.
Jakub Jelen 6caa97
 .Pp
Jakub Jelen 6caa97
 The list of available key types may also be obtained using
Jakub Jelen 51f5c1
 .Qq ssh -Q PubkeyAcceptedKeyTypes .