summaryrefslogtreecommitdiff
path: root/debian/openssh-server.templates
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2018-01-26 00:07:45 +0000
committerColin Watson <cjwatson@debian.org>2018-01-26 00:07:50 +0000
commit5e133f112d8a05c0f7c466fc793514e2a1ee8285 (patch)
tree56894484966369c13e281e0d37eff2c91ca087b0 /debian/openssh-server.templates
parent83263a49b0e2ade36a7f0d01d06a0453f8c7ef3f (diff)
Add debconf template to disable password auth
The new template is called openssh-server/password-authentication, and is preseeding-only (at least for now). Closes: #878945
Diffstat (limited to 'debian/openssh-server.templates')
-rw-r--r--debian/openssh-server.templates8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/openssh-server.templates b/debian/openssh-server.templates
index 27907f25d..e071fe3b8 100644
--- a/debian/openssh-server.templates
+++ b/debian/openssh-server.templates
@@ -13,3 +13,11 @@ _Description: Disable SSH password authentication for root?
13 attacks). However, it may break systems that are set up with the 13 attacks). However, it may break systems that are set up with the
14 expectation of being able to SSH as root using password authentication. You 14 expectation of being able to SSH as root using password authentication. You
15 should only make this change if you do not need to do that. 15 should only make this change if you do not need to do that.
16
17Template: openssh-server/password-authentication
18Type: boolean
19Default: true
20Description: Allow password authentication?
21 By default, the SSH server will allow authenticating using a password.
22 You may want to change this if all users on this system authenticate using
23 a stronger authentication method, such as public keys.