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>2017-10-04 13:54:48 +0100
commit4847e512c0b94c615b838904a5f139a761bee284 (patch)
treef4784e39f9700a109ce869711b69ecfaa81d6f09 /readconf.c
parentba3f6b85ede72ef42987f0069f5ed2b88ebe69fd (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 'readconf.c')
-rw-r--r--readconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readconf.c b/readconf.c
index be3d58737..41f36aa8d 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1940,7 +1940,7 @@ fill_default_options(Options * options)
1940 if (options->forward_x11 == -1) 1940 if (options->forward_x11 == -1)
1941 options->forward_x11 = 0; 1941 options->forward_x11 = 0;
1942 if (options->forward_x11_trusted == -1) 1942 if (options->forward_x11_trusted == -1)
1943 options->forward_x11_trusted = 0; 1943 options->forward_x11_trusted = 1;
1944 if (options->forward_x11_timeout == -1) 1944 if (options->forward_x11_timeout == -1)
1945 options->forward_x11_timeout = 1200; 1945 options->forward_x11_timeout = 1200;
1946 /* 1946 /*