summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-02-09 16:10:18 +0000
committerColin Watson <cjwatson@debian.org>2020-10-18 12:07:21 +0100
commita0c9f82b05d33f3e2cf8e5442cee47c09d1a1dd8 (patch)
tree1d383167149b22907153635b676d52f824681d66 /readconf.c
parente8453621b2a26f8d6afec405ff60201749b01e5e (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. ssh: Include /etc/ssh/ssh_config.d/*.conf. 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. sshd: Include /etc/ssh/sshd_config.d/*.conf. Document all of this. Author: Russ Allbery <rra@debian.org> Forwarded: not-needed Last-Update: 2020-10-18 Patch-Name: debian-config.patch
Diffstat (limited to 'readconf.c')
-rw-r--r--readconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readconf.c b/readconf.c
index f4f273c96..e676b6be6 100644
--- a/readconf.c
+++ b/readconf.c
@@ -2153,7 +2153,7 @@ fill_default_options(Options * options)
2153 if (options->forward_x11 == -1) 2153 if (options->forward_x11 == -1)
2154 options->forward_x11 = 0; 2154 options->forward_x11 = 0;
2155 if (options->forward_x11_trusted == -1) 2155 if (options->forward_x11_trusted == -1)
2156 options->forward_x11_trusted = 0; 2156 options->forward_x11_trusted = 1;
2157 if (options->forward_x11_timeout == -1) 2157 if (options->forward_x11_timeout == -1)
2158 options->forward_x11_timeout = 1200; 2158 options->forward_x11_timeout = 1200;
2159 /* 2159 /*