Jakub Jelen 51f5c1
diff -up openssh/ssh_config.5.crypto-policies openssh/ssh_config.5
Jakub Jelen 51f5c1
--- openssh/ssh_config.5.crypto-policies	2020-02-07 15:05:55.665451715 +0100
Jakub Jelen 51f5c1
+++ openssh/ssh_config.5	2020-02-07 15:07:11.632641922 +0100
Jakub Jelen 51f5c1
@@ -361,15 +361,15 @@ domains.
Jakub Jelen 51f5c1
 .It Cm CASignatureAlgorithms
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 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 51f5c1
 .It Cm CertificateFile
Jakub Jelen 51f5c1
 Specifies a file from which the user's certificate is read.
Jakub Jelen 51f5c1
 A corresponding private key must be provided separately in order
Jakub Jelen 51f5c1
@@ -453,12 +453,10 @@ 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 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 6caa97
 .Pp
Jakub Jelen 6caa97
 The list of available ciphers may also be obtained using
Jakub Jelen 6caa97
 .Qq ssh -Q cipher .
Jakub Jelen 1cc7c8
@@ -824,9 +822,10 @@ 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 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 1cc7c8
 This option only applies to connections using GSSAPI.
Jakub Jelen 6caa97
 .It Cm HashKnownHosts
Jakub Jelen 6caa97
 Indicates that
Jakub Jelen 51f5c1
@@ -1162,15 +1162,10 @@ 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 36fef5
 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 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 6caa97
 .Pp
Jakub Jelen 6caa97
 The list of available key exchange algorithms may also be obtained using
Jakub Jelen 6caa97
 .Qq ssh -Q kex .
Jakub Jelen 51f5c1
@@ -1252,14 +1247,10 @@ The algorithms that contain
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 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 6caa97
 .Pp
Jakub Jelen 6caa97
 The list of available MAC algorithms may also be obtained using
Jakub Jelen 6caa97
 .Qq ssh -Q mac .
Jakub Jelen 51f5c1
@@ -1407,22 +1398,10 @@ 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 36fef5
 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 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 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 51f5c1
diff -up openssh/sshd_config.5.crypto-policies openssh/sshd_config.5
Jakub Jelen 51f5c1
--- openssh/sshd_config.5.crypto-policies	2020-02-07 15:05:55.639451308 +0100
Jakub Jelen 51f5c1
+++ openssh/sshd_config.5	2020-02-07 15:05:55.672451825 +0100
Jakub Jelen 51f5c1
@@ -377,14 +377,14 @@ By default, no banner is displayed.
Jakub Jelen 51f5c1
 .It Cm CASignatureAlgorithms
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 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 51f5c1
 .It Cm ChallengeResponseAuthentication
Jakub Jelen 51f5c1
 Specifies whether challenge-response authentication is allowed (e.g. via
Jakub Jelen 51f5c1
 PAM or through authentication styles supported in
Jakub Jelen 51f5c1
@@ -486,12 +486,10 @@ 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 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 6caa97
 .Pp
Jakub Jelen 6caa97
 The list of available ciphers may also be obtained using
Jakub Jelen 6caa97
 .Qq ssh -Q cipher .
Jakub Jelen 1cc7c8
@@ -693,9 +691,10 @@ 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 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 1cc7c8
 This option only applies to connections using GSSAPI.
Jakub Jelen 6caa97
 .It Cm HostbasedAcceptedKeyTypes
Jakub Jelen 6caa97
 Specifies the key types that will be accepted for hostbased authentication
Jakub Jelen 51f5c1
@@ -794,22 +794,10 @@ environment variable.
Jakub Jelen 6caa97
 .It Cm HostKeyAlgorithms
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 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 6caa97
 .Pp
Jakub Jelen 6caa97
 The list of available key types may also be obtained using
Jakub Jelen 51f5c1
 .Qq ssh -Q HostKeyAlgorithms .
Jakub Jelen 51f5c1
@@ -987,14 +975,10 @@ 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 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 6caa97
 .Pp
Jakub Jelen 6caa97
 The list of available key exchange algorithms may also be obtained using
Jakub Jelen 51f5c1
 .Qq ssh -Q KexAlgorithms .
Jakub Jelen 51f5c1
@@ -1121,14 +1105,10 @@ 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 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 6caa97
 .Pp
Jakub Jelen 6caa97
 The list of available MAC algorithms may also be obtained using
Jakub Jelen 6caa97
 .Qq ssh -Q mac .
Jakub Jelen 51f5c1
@@ -1492,22 +1472,10 @@ 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 36fef5
 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 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 6caa97
 .Pp
Jakub Jelen 6caa97
 The list of available key types may also be obtained using
Jakub Jelen 51f5c1
 .Qq ssh -Q PubkeyAcceptedKeyTypes .