diff options
author | Colin Watson <cjwatson@debian.org> | 2014-02-09 16:10:18 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-10-09 23:07:49 +0100 |
commit | 7abde40896668ce9debfe056c7dabc6a70ef7da4 (patch) | |
tree | 56e57f3b57350a1a18cf9798e728af6c12d4a3c7 /ssh_config | |
parent | ab765b2bd55062a704f09da8f8c1c4ad1d6630a7 (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: 2017-10-04
Patch-Name: debian-config.patch
Diffstat (limited to 'ssh_config')
-rw-r--r-- | ssh_config | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ssh_config b/ssh_config index 1ff999b68..6dd6ecf87 100644 --- a/ssh_config +++ b/ssh_config | |||
@@ -17,9 +17,10 @@ | |||
17 | # list of available options, their meanings and defaults, please see the | 17 | # list of available options, their meanings and defaults, please see the |
18 | # ssh_config(5) man page. | 18 | # ssh_config(5) man page. |
19 | 19 | ||
20 | # Host * | 20 | Host * |
21 | # ForwardAgent no | 21 | # ForwardAgent no |
22 | # ForwardX11 no | 22 | # ForwardX11 no |
23 | # ForwardX11Trusted yes | ||
23 | # PasswordAuthentication yes | 24 | # PasswordAuthentication yes |
24 | # HostbasedAuthentication no | 25 | # HostbasedAuthentication no |
25 | # GSSAPIAuthentication no | 26 | # GSSAPIAuthentication no |
@@ -45,3 +46,6 @@ | |||
45 | # VisualHostKey no | 46 | # VisualHostKey no |
46 | # ProxyCommand ssh -q -W %h:%p gateway.example.com | 47 | # ProxyCommand ssh -q -W %h:%p gateway.example.com |
47 | # RekeyLimit 1G 1h | 48 | # RekeyLimit 1G 1h |
49 | SendEnv LANG LC_* | ||
50 | HashKnownHosts yes | ||
51 | GSSAPIAuthentication yes | ||