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>2019-10-09 23:07:49 +0100
commit7abde40896668ce9debfe056c7dabc6a70ef7da4 (patch)
tree56e57f3b57350a1a18cf9798e728af6c12d4a3c7 /readconf.c
parentab765b2bd55062a704f09da8f8c1c4ad1d6630a7 (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 16d2729dd..253574ce0 100644
--- a/readconf.c
+++ b/readconf.c
@@ -2037,7 +2037,7 @@ fill_default_options(Options * options)
2037 if (options->forward_x11 == -1) 2037 if (options->forward_x11 == -1)
2038 options->forward_x11 = 0; 2038 options->forward_x11 = 0;
2039 if (options->forward_x11_trusted == -1) 2039 if (options->forward_x11_trusted == -1)
2040 options->forward_x11_trusted = 0; 2040 options->forward_x11_trusted = 1;
2041 if (options->forward_x11_timeout == -1) 2041 if (options->forward_x11_timeout == -1)
2042 options->forward_x11_timeout = 1200; 2042 options->forward_x11_timeout = 1200;
2043 /* 2043 /*