summaryrefslogtreecommitdiff
path: root/sshd_config
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2017-03-05 02:02:11 +0000
committerColin Watson <cjwatson@debian.org>2020-02-21 14:45:21 +0000
commit58390cbd5e07df92729b794beb491f7352b26993 (patch)
tree44260b1f30f37778926d0d8dd838647b5a800cb5 /sshd_config
parent8086961f9f4ad834e9c3b09b6e2c80273be1c506 (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_config5
1 files changed, 2 insertions, 3 deletions
diff --git a/sshd_config b/sshd_config
index 459c1b230..dc0db5706 100644
--- a/sshd_config
+++ b/sshd_config
@@ -38,9 +38,8 @@ Include /etc/ssh/sshd_config.d/*.conf
38 38
39#PubkeyAuthentication yes 39#PubkeyAuthentication yes
40 40
41# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 41# Expect .ssh/authorized_keys2 to be disregarded by default in future.
42# but this is overridden so installations will only check .ssh/authorized_keys 42#AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2
43AuthorizedKeysFile .ssh/authorized_keys
44 43
45#AuthorizedPrincipalsFile none 44#AuthorizedPrincipalsFile none
46 45