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>2018-10-20 22:54:09 +0100
commita433d9baa031d7136a8cf3e3807ebff83a3a8634 (patch)
tree3fecc984dfc9a222bcc8a5353bca9640c1d48c55 /readconf.c
parentda34947128351bee9d2530574432190548f5be58 (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 6b01f20d2..661b8bf40 100644
--- a/readconf.c
+++ b/readconf.c
@@ -2000,7 +2000,7 @@ fill_default_options(Options * options)
2000 if (options->forward_x11 == -1) 2000 if (options->forward_x11 == -1)
2001 options->forward_x11 = 0; 2001 options->forward_x11 = 0;
2002 if (options->forward_x11_trusted == -1) 2002 if (options->forward_x11_trusted == -1)
2003 options->forward_x11_trusted = 0; 2003 options->forward_x11_trusted = 1;
2004 if (options->forward_x11_timeout == -1) 2004 if (options->forward_x11_timeout == -1)
2005 options->forward_x11_timeout = 1200; 2005 options->forward_x11_timeout = 1200;
2006 /* 2006 /*