diff options
author | Colin Watson <cjwatson@debian.org> | 2014-02-09 16:10:18 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-02-21 12:10:36 +0000 |
commit | cc80ecc65d57a9e68ce84d67bcfece281ffa0e9f (patch) | |
tree | ae0f22c19546882adbc8835e068ebafd4e0a4d90 /ssh_config.5 | |
parent | a208834b2d1811dac7054d7fdcdd04672f8b19f6 (diff) |
Various Debian-specific configuration changes
ssh: Enable ForwardX11Trusted, returning to earlier semantics which cause
fewer problems with existing setups (http://bugs.debian.org/237021).
ssh: Set 'SendEnv LANG LC_*' by default (http://bugs.debian.org/264024).
ssh: Enable HashKnownHosts by default to try to limit the spread of ssh
worms.
ssh: Enable GSSAPIAuthentication by default.
sshd: Enable PAM, disable ChallengeResponseAuthentication, and disable
PrintMotd.
sshd: Enable X11Forwarding.
sshd: Set 'AcceptEnv LANG LC_*' by default.
sshd: Change sftp subsystem path to /usr/lib/openssh/sftp-server.
Document all of this.
Author: Russ Allbery <rra@debian.org>
Forwarded: not-needed
Last-Update: 2020-02-19
Patch-Name: debian-config.patch
Diffstat (limited to 'ssh_config.5')
-rw-r--r-- | ssh_config.5 | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/ssh_config.5 b/ssh_config.5 index c6eaa63e7..5c90d3e02 100644 --- a/ssh_config.5 +++ b/ssh_config.5 | |||
@@ -71,6 +71,22 @@ Since the first obtained value for each parameter is used, more | |||
71 | host-specific declarations should be given near the beginning of the | 71 | host-specific declarations should be given near the beginning of the |
72 | file, and general defaults at the end. | 72 | file, and general defaults at the end. |
73 | .Pp | 73 | .Pp |
74 | Note that the Debian | ||
75 | .Ic openssh-client | ||
76 | package sets several options as standard in | ||
77 | .Pa /etc/ssh/ssh_config | ||
78 | which are not the default in | ||
79 | .Xr ssh 1 : | ||
80 | .Pp | ||
81 | .Bl -bullet -offset indent -compact | ||
82 | .It | ||
83 | .Cm SendEnv No LANG LC_* | ||
84 | .It | ||
85 | .Cm HashKnownHosts No yes | ||
86 | .It | ||
87 | .Cm GSSAPIAuthentication No yes | ||
88 | .El | ||
89 | .Pp | ||
74 | The file contains keyword-argument pairs, one per line. | 90 | The file contains keyword-argument pairs, one per line. |
75 | Lines starting with | 91 | Lines starting with |
76 | .Ql # | 92 | .Ql # |
@@ -729,11 +745,12 @@ elapsed. | |||
729 | .It Cm ForwardX11Trusted | 745 | .It Cm ForwardX11Trusted |
730 | If this option is set to | 746 | If this option is set to |
731 | .Cm yes , | 747 | .Cm yes , |
748 | (the Debian-specific default), | ||
732 | remote X11 clients will have full access to the original X11 display. | 749 | remote X11 clients will have full access to the original X11 display. |
733 | .Pp | 750 | .Pp |
734 | If this option is set to | 751 | If this option is set to |
735 | .Cm no | 752 | .Cm no |
736 | (the default), | 753 | (the upstream default), |
737 | remote X11 clients will be considered untrusted and prevented | 754 | remote X11 clients will be considered untrusted and prevented |
738 | from stealing or tampering with data belonging to trusted X11 | 755 | from stealing or tampering with data belonging to trusted X11 |
739 | clients. | 756 | clients. |