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-08-22 16:19:30 +0100
commit2a56febeeeb301ce75748d175e35268f45790377 (patch)
tree1fd441012efb1bbc59c167ed1634306c0c2be582 /readconf.c
parent92415b13be2ce917028d1327fb9bb50208d0139e (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: 2016-12-26 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 70fac6824..4d92d174b 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1950,7 +1950,7 @@ fill_default_options(Options * options)
1950 if (options->forward_x11 == -1) 1950 if (options->forward_x11 == -1)
1951 options->forward_x11 = 0; 1951 options->forward_x11 = 0;
1952 if (options->forward_x11_trusted == -1) 1952 if (options->forward_x11_trusted == -1)
1953 options->forward_x11_trusted = 0; 1953 options->forward_x11_trusted = 1;
1954 if (options->forward_x11_timeout == -1) 1954 if (options->forward_x11_timeout == -1)
1955 options->forward_x11_timeout = 1200; 1955 options->forward_x11_timeout = 1200;
1956 /* 1956 /*