summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authorSimon Wilkinson <simon@sxw.org.uk>2014-02-09 16:09:48 +0000
committerColin Watson <cjwatson@debian.org>2019-10-09 23:06:20 +0100
commit9da806e67101afdc0d3a1d304659927acf18f5c5 (patch)
tree4cb56e13b3b3b14147366a04a7ff691f76908bf7 /ssh_config.5
parent4213eec74e74de6310c27a40c3e9759a08a73996 (diff)
GSSAPI key exchange support
This patch has been rejected upstream: "None of the OpenSSH developers are in favour of adding this, and this situation has not changed for several years. This is not a slight on Simon's patch, which is of fine quality, but just that a) we don't trust GSSAPI implementations that much and b) we don't like adding new KEX since they are pre-auth attack surface. This one is particularly scary, since it requires hooks out to typically root-owned system resources." However, quite a lot of people rely on this in Debian, and it's better to have it merged into the main openssh package rather than having separate -krb5 packages (as we used to have). It seems to have a generally good security history. Origin: other, https://github.com/openssh-gsskex/openssh-gsskex/commits/debian/master Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1242 Last-Updated: 2019-10-09 Patch-Name: gssapi.patch
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.557
1 files changed, 57 insertions, 0 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index 02a87892d..f4668673b 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -758,10 +758,67 @@ The default is
758Specifies whether user authentication based on GSSAPI is allowed. 758Specifies whether user authentication based on GSSAPI is allowed.
759The default is 759The default is
760.Cm no . 760.Cm no .
761.It Cm GSSAPIClientIdentity
762If set, specifies the GSSAPI client identity that ssh should use when
763connecting to the server. The default is unset, which means that the default
764identity will be used.
761.It Cm GSSAPIDelegateCredentials 765.It Cm GSSAPIDelegateCredentials
762Forward (delegate) credentials to the server. 766Forward (delegate) credentials to the server.
763The default is 767The default is
764.Cm no . 768.Cm no .
769.It Cm GSSAPIKeyExchange
770Specifies whether key exchange based on GSSAPI may be used. When using
771GSSAPI key exchange the server need not have a host key.
772The default is
773.Dq no .
774.It Cm GSSAPIRenewalForcesRekey
775If set to
776.Dq yes
777then renewal of the client's GSSAPI credentials will force the rekeying of the
778ssh connection. With a compatible server, this will delegate the renewed
779credentials to a session on the server.
780.Pp
781Checks are made to ensure that credentials are only propagated when the new
782credentials match the old ones on the originating client and where the
783receiving server still has the old set in its cache.
784.Pp
785The default is
786.Dq no .
787.Pp
788For this to work
789.Cm GSSAPIKeyExchange
790needs to be enabled in the server and also used by the client.
791.It Cm GSSAPIServerIdentity
792If set, specifies the GSSAPI server identity that ssh should expect when
793connecting to the server. The default is unset, which means that the
794expected GSSAPI server identity will be determined from the target
795hostname.
796.It Cm GSSAPITrustDns
797Set to
798.Dq yes
799to indicate that the DNS is trusted to securely canonicalize
800the name of the host being connected to. If
801.Dq no ,
802the hostname entered on the
803command line will be passed untouched to the GSSAPI library.
804The default is
805.Dq no .
806.It Cm GSSAPIKexAlgorithms
807The list of key exchange algorithms that are offered for GSSAPI
808key exchange. Possible values are
809.Bd -literal -offset 3n
810gss-gex-sha1-,
811gss-group1-sha1-,
812gss-group14-sha1-,
813gss-group14-sha256-,
814gss-group16-sha512-,
815gss-nistp256-sha256-,
816gss-curve25519-sha256-
817.Ed
818.Pp
819The default is
820.Dq gss-gex-sha1-,gss-group14-sha1- .
821This option only applies to protocol version 2 connections using GSSAPI.
765.It Cm HashKnownHosts 822.It Cm HashKnownHosts
766Indicates that 823Indicates that
767.Xr ssh 1 824.Xr ssh 1