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-03-29 01:40:56 +0100
commit78fc8282e021b0236697caedb612cab78831755f (patch)
tree19e3384aaaec6b0350f9edc6c04872c422ad7131 /readconf.c
parentbd5c1cc302550e4caf8c3a6942f48a784f347b58 (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 /*