summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2014-12-22 09:05:17 +0000
committerDamien Miller <djm@mindrot.org>2014-12-22 20:05:41 +1100
commit8f6784f0cb56dc4fd00af3e81a10050a5785228d (patch)
treec0b53cd5da9e63f07e760c83332b9f7586d91969
parent449e11b4d7847079bd0a2daa6e3e7ea03d8ef700 (diff)
upstream commit
mention ssh -Q feature to list supported { MAC, cipher, KEX, key } algorithms in more places and include the query string used to list the relevant information; bz#2288
-rw-r--r--ssh_config.529
-rw-r--r--sshd_config.520
2 files changed, 44 insertions, 5 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index 33da983ea..7a5dd52c8 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -33,8 +33,8 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: ssh_config.5,v 1.197 2014/12/21 23:12:42 djm Exp $ 36.\" $OpenBSD: ssh_config.5,v 1.198 2014/12/22 09:05:17 djm Exp $
37.Dd $Mdocdate: December 21 2014 $ 37.Dd $Mdocdate: December 22 2014 $
38.Dt SSH_CONFIG 5 38.Dt SSH_CONFIG 5
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -417,7 +417,9 @@ aes192-cbc,aes256-cbc,arcfour
417The list of available ciphers may also be obtained using the 417The list of available ciphers may also be obtained using the
418.Fl Q 418.Fl Q
419option of 419option of
420.Xr ssh 1 . 420.Xr ssh 1
421with an argument of
422.Dq cipher .
421.It Cm ClearAllForwardings 423.It Cm ClearAllForwardings
422Specifies that all local, remote, and dynamic port forwardings 424Specifies that all local, remote, and dynamic port forwardings
423specified in the configuration files or on the command line be 425specified in the configuration files or on the command line be
@@ -793,6 +795,13 @@ ssh-ed25519,ssh-rsa,ssh-dss
793.Pp 795.Pp
794If hostkeys are known for the destination host then this default is modified 796If hostkeys are known for the destination host then this default is modified
795to prefer their algorithms. 797to prefer their algorithms.
798.Pp
799The list of available key types may also be obtained using the
800.Fl Q
801option of
802.Xr ssh 1
803with an argument of
804.Dq key .
796.It Cm HostKeyAlias 805.It Cm HostKeyAlias
797Specifies an alias that should be used instead of the 806Specifies an alias that should be used instead of the
798real host name when looking up or saving the host key 807real host name when looking up or saving the host key
@@ -963,6 +972,13 @@ diffie-hellman-group14-sha1,
963diffie-hellman-group-exchange-sha1, 972diffie-hellman-group-exchange-sha1,
964diffie-hellman-group1-sha1 973diffie-hellman-group1-sha1
965.Ed 974.Ed
975.Pp
976The list of available key exchange algorithms may also be obtained using the
977.Fl Q
978option of
979.Xr ssh 1
980with an argument of
981.Dq kex .
966.It Cm LocalCommand 982.It Cm LocalCommand
967Specifies a command to execute on the local machine after successfully 983Specifies a command to execute on the local machine after successfully
968connecting to the server. 984connecting to the server.
@@ -1052,6 +1068,13 @@ hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,
1052hmac-md5,hmac-sha1,hmac-ripemd160, 1068hmac-md5,hmac-sha1,hmac-ripemd160,
1053hmac-sha1-96,hmac-md5-96 1069hmac-sha1-96,hmac-md5-96
1054.Ed 1070.Ed
1071.Pp
1072The list of available MAC algorithms may also be obtained using the
1073.Fl Q
1074option of
1075.Xr ssh 1
1076with an argument of
1077.Dq mac .
1055.It Cm NoHostAuthenticationForLocalhost 1078.It Cm NoHostAuthenticationForLocalhost
1056This option can be used if the home directory is shared across machines. 1079This option can be used if the home directory is shared across machines.
1057In this case localhost will refer to a different machine on each of 1080In this case localhost will refer to a different machine on each of
diff --git a/sshd_config.5 b/sshd_config.5
index b48088e41..cec2a023a 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -33,7 +33,7 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: sshd_config.5,v 1.187 2014/12/22 08:24:17 jmc Exp $ 36.\" $OpenBSD: sshd_config.5,v 1.188 2014/12/22 09:05:17 djm Exp $
37.Dd $Mdocdate: December 22 2014 $ 37.Dd $Mdocdate: December 22 2014 $
38.Dt SSHD_CONFIG 5 38.Dt SSHD_CONFIG 5
39.Os 39.Os
@@ -418,7 +418,9 @@ chacha20-poly1305@openssh.com
418The list of available ciphers may also be obtained using the 418The list of available ciphers may also be obtained using the
419.Fl Q 419.Fl Q
420option of 420option of
421.Xr ssh 1 . 421.Xr ssh 1
422with an argument of
423.Dq cipher .
422.It Cm ClientAliveCountMax 424.It Cm ClientAliveCountMax
423Sets the number of client alive messages (see below) which may be 425Sets the number of client alive messages (see below) which may be
424sent without 426sent without
@@ -760,6 +762,13 @@ ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,
760diffie-hellman-group-exchange-sha256, 762diffie-hellman-group-exchange-sha256,
761diffie-hellman-group14-sha1 763diffie-hellman-group14-sha1
762.Ed 764.Ed
765.Pp
766The list of available key exchange algorithms may also be obtained using the
767.Fl Q
768option of
769.Xr ssh 1
770with an argument of
771.Dq kex .
763.It Cm KeyRegenerationInterval 772.It Cm KeyRegenerationInterval
764In protocol version 1, the ephemeral server key is automatically regenerated 773In protocol version 1, the ephemeral server key is automatically regenerated
765after this many seconds (if it has been used). 774after this many seconds (if it has been used).
@@ -878,6 +887,13 @@ hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,
878umac-64@openssh.com,umac-128@openssh.com, 887umac-64@openssh.com,umac-128@openssh.com,
879hmac-sha2-256,hmac-sha2-512 888hmac-sha2-256,hmac-sha2-512
880.Ed 889.Ed
890.Pp
891The list of available MAC algorithms may also be obtained using the
892.Fl Q
893option of
894.Xr ssh 1
895with an argument of
896.Dq mac .
881.It Cm Match 897.It Cm Match
882Introduces a conditional block. 898Introduces a conditional block.
883If all of the criteria on the 899If all of the criteria on the