diff options
author | Colin Watson <cjwatson@debian.org> | 2017-03-05 02:02:11 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2018-10-20 22:54:09 +0100 |
commit | cebe4b82b280810172877a7f3d489c506c9a0691 (patch) | |
tree | 79ad373b95e5eab54e2d09ce24ecd73834297a6b /sshd_config | |
parent | a433d9baa031d7136a8cf3e3807ebff83a3a8634 (diff) |
Restore reading authorized_keys2 by default
Upstream seems to intend to gradually phase this out, so don't assume
that this will remain the default forever. However, we were late in
adopting the upstream sshd_config changes, so it makes sense to extend
the grace period.
Bug-Debian: https://bugs.debian.org/852320
Forwarded: not-needed
Last-Update: 2017-03-05
Patch-Name: restore-authorized_keys2.patch
Diffstat (limited to 'sshd_config')
-rw-r--r-- | sshd_config | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sshd_config b/sshd_config index ed8272f6d..ee9629102 100644 --- a/sshd_config +++ b/sshd_config | |||
@@ -36,9 +36,8 @@ | |||
36 | 36 | ||
37 | #PubkeyAuthentication yes | 37 | #PubkeyAuthentication yes |
38 | 38 | ||
39 | # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 | 39 | # Expect .ssh/authorized_keys2 to be disregarded by default in future. |
40 | # but this is overridden so installations will only check .ssh/authorized_keys | 40 | #AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2 |
41 | AuthorizedKeysFile .ssh/authorized_keys | ||
42 | 41 | ||
43 | #AuthorizedPrincipalsFile none | 42 | #AuthorizedPrincipalsFile none |
44 | 43 | ||