diff options
author | Simon Wilkinson <simon@sxw.org.uk> | 2014-02-09 16:09:48 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-02-21 12:01:36 +0000 |
commit | 34aff3aa136e5a65f441b25811dd466488fda087 (patch) | |
tree | e2170faeed03d67545255d3d3c9d62280414c0b2 /ssh_config.5 | |
parent | f0de78bd4f29fa688c5df116f3f9cd43543a76d0 (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: 2020-02-21
Patch-Name: gssapi.patch
Diffstat (limited to 'ssh_config.5')
-rw-r--r-- | ssh_config.5 | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/ssh_config.5 b/ssh_config.5 index 06a32d314..3f4906972 100644 --- a/ssh_config.5 +++ b/ssh_config.5 | |||
@@ -766,10 +766,67 @@ The default is | |||
766 | Specifies whether user authentication based on GSSAPI is allowed. | 766 | Specifies whether user authentication based on GSSAPI is allowed. |
767 | The default is | 767 | The default is |
768 | .Cm no . | 768 | .Cm no . |
769 | .It Cm GSSAPIClientIdentity | ||
770 | If set, specifies the GSSAPI client identity that ssh should use when | ||
771 | connecting to the server. The default is unset, which means that the default | ||
772 | identity will be used. | ||
769 | .It Cm GSSAPIDelegateCredentials | 773 | .It Cm GSSAPIDelegateCredentials |
770 | Forward (delegate) credentials to the server. | 774 | Forward (delegate) credentials to the server. |
771 | The default is | 775 | The default is |
772 | .Cm no . | 776 | .Cm no . |
777 | .It Cm GSSAPIKeyExchange | ||
778 | Specifies whether key exchange based on GSSAPI may be used. When using | ||
779 | GSSAPI key exchange the server need not have a host key. | ||
780 | The default is | ||
781 | .Dq no . | ||
782 | .It Cm GSSAPIRenewalForcesRekey | ||
783 | If set to | ||
784 | .Dq yes | ||
785 | then renewal of the client's GSSAPI credentials will force the rekeying of the | ||
786 | ssh connection. With a compatible server, this will delegate the renewed | ||
787 | credentials to a session on the server. | ||
788 | .Pp | ||
789 | Checks are made to ensure that credentials are only propagated when the new | ||
790 | credentials match the old ones on the originating client and where the | ||
791 | receiving server still has the old set in its cache. | ||
792 | .Pp | ||
793 | The default is | ||
794 | .Dq no . | ||
795 | .Pp | ||
796 | For this to work | ||
797 | .Cm GSSAPIKeyExchange | ||
798 | needs to be enabled in the server and also used by the client. | ||
799 | .It Cm GSSAPIServerIdentity | ||
800 | If set, specifies the GSSAPI server identity that ssh should expect when | ||
801 | connecting to the server. The default is unset, which means that the | ||
802 | expected GSSAPI server identity will be determined from the target | ||
803 | hostname. | ||
804 | .It Cm GSSAPITrustDns | ||
805 | Set to | ||
806 | .Dq yes | ||
807 | to indicate that the DNS is trusted to securely canonicalize | ||
808 | the name of the host being connected to. If | ||
809 | .Dq no , | ||
810 | the hostname entered on the | ||
811 | command line will be passed untouched to the GSSAPI library. | ||
812 | The default is | ||
813 | .Dq no . | ||
814 | .It Cm GSSAPIKexAlgorithms | ||
815 | The list of key exchange algorithms that are offered for GSSAPI | ||
816 | key exchange. Possible values are | ||
817 | .Bd -literal -offset 3n | ||
818 | gss-gex-sha1-, | ||
819 | gss-group1-sha1-, | ||
820 | gss-group14-sha1-, | ||
821 | gss-group14-sha256-, | ||
822 | gss-group16-sha512-, | ||
823 | gss-nistp256-sha256-, | ||
824 | gss-curve25519-sha256- | ||
825 | .Ed | ||
826 | .Pp | ||
827 | The default is | ||
828 | .Dq gss-gex-sha1-,gss-group14-sha1- . | ||
829 | This option only applies to protocol version 2 connections using GSSAPI. | ||
773 | .It Cm HashKnownHosts | 830 | .It Cm HashKnownHosts |
774 | Indicates that | 831 | Indicates that |
775 | .Xr ssh 1 | 832 | .Xr ssh 1 |