diff options
author | Colin Watson <cjwatson@debian.org> | 2014-02-09 16:10:18 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-01-16 15:02:54 +0000 |
commit | 2b53482aec037f0747198f19e449f51d921acd30 (patch) | |
tree | 840d9ac0c2317fa1f5482a26230b50579eef5afe /ssh_config | |
parent | 0fd4134a3ef467e1e69db5b19b7903cf306ec64b (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 'ssh_config')
-rw-r--r-- | ssh_config | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ssh_config b/ssh_config index 4e879cd20..093c8366e 100644 --- a/ssh_config +++ b/ssh_config | |||
@@ -17,9 +17,10 @@ | |||
17 | # list of available options, their meanings and defaults, please see the | 17 | # list of available options, their meanings and defaults, please see the |
18 | # ssh_config(5) man page. | 18 | # ssh_config(5) man page. |
19 | 19 | ||
20 | # Host * | 20 | Host * |
21 | # ForwardAgent no | 21 | # ForwardAgent no |
22 | # ForwardX11 no | 22 | # ForwardX11 no |
23 | # ForwardX11Trusted yes | ||
23 | # RhostsRSAAuthentication no | 24 | # RhostsRSAAuthentication no |
24 | # RSAAuthentication yes | 25 | # RSAAuthentication yes |
25 | # PasswordAuthentication yes | 26 | # PasswordAuthentication yes |
@@ -50,3 +51,6 @@ | |||
50 | # VisualHostKey no | 51 | # VisualHostKey no |
51 | # ProxyCommand ssh -q -W %h:%p gateway.example.com | 52 | # ProxyCommand ssh -q -W %h:%p gateway.example.com |
52 | # RekeyLimit 1G 1h | 53 | # RekeyLimit 1G 1h |
54 | SendEnv LANG LC_* | ||
55 | HashKnownHosts yes | ||
56 | GSSAPIAuthentication yes | ||