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-06-05 07:06:44 +0100
commit7ce79be85036c4b36937f1b1ba85f6094068412c (patch)
treec964917d8395ef5605cff9513aad4458b222beae /ssh_config.5
parent102062f825fb26a74295a1c089c00c4c4c76b68a (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-06-05 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 412629637..c3c8b274a 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -754,10 +754,67 @@ The default is
754Specifies whether user authentication based on GSSAPI is allowed. 754Specifies whether user authentication based on GSSAPI is allowed.
755The default is 755The default is
756.Cm no . 756.Cm no .
757.It Cm GSSAPIClientIdentity
758If set, specifies the GSSAPI client identity that ssh should use when
759connecting to the server. The default is unset, which means that the default
760identity will be used.
757.It Cm GSSAPIDelegateCredentials 761.It Cm GSSAPIDelegateCredentials
758Forward (delegate) credentials to the server. 762Forward (delegate) credentials to the server.
759The default is 763The default is
760.Cm no . 764.Cm no .
765.It Cm GSSAPIKeyExchange
766Specifies whether key exchange based on GSSAPI may be used. When using
767GSSAPI key exchange the server need not have a host key.
768The default is
769.Dq no .
770.It Cm GSSAPIRenewalForcesRekey
771If set to
772.Dq yes
773then renewal of the client's GSSAPI credentials will force the rekeying of the
774ssh connection. With a compatible server, this will delegate the renewed
775credentials to a session on the server.
776.Pp
777Checks are made to ensure that credentials are only propagated when the new
778credentials match the old ones on the originating client and where the
779receiving server still has the old set in its cache.
780.Pp
781The default is
782.Dq no .
783.Pp
784For this to work
785.Cm GSSAPIKeyExchange
786needs to be enabled in the server and also used by the client.
787.It Cm GSSAPIServerIdentity
788If set, specifies the GSSAPI server identity that ssh should expect when
789connecting to the server. The default is unset, which means that the
790expected GSSAPI server identity will be determined from the target
791hostname.
792.It Cm GSSAPITrustDns
793Set to
794.Dq yes
795to indicate that the DNS is trusted to securely canonicalize
796the name of the host being connected to. If
797.Dq no ,
798the hostname entered on the
799command line will be passed untouched to the GSSAPI library.
800The default is
801.Dq no .
802.It Cm GSSAPIKexAlgorithms
803The list of key exchange algorithms that are offered for GSSAPI
804key exchange. Possible values are
805.Bd -literal -offset 3n
806gss-gex-sha1-,
807gss-group1-sha1-,
808gss-group14-sha1-,
809gss-group14-sha256-,
810gss-group16-sha512-,
811gss-nistp256-sha256-,
812gss-curve25519-sha256-
813.Ed
814.Pp
815The default is
816.Dq gss-gex-sha1-,gss-group14-sha1- .
817This option only applies to protocol version 2 connections using GSSAPI.
761.It Cm HashKnownHosts 818.It Cm HashKnownHosts
762Indicates that 819Indicates that
763.Xr ssh 1 820.Xr ssh 1