summaryrefslogtreecommitdiff
path: root/debian/openssh-server.install
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2016-12-24 19:26:39 +0000
committerColin Watson <cjwatson@debian.org>2016-12-26 00:30:30 +0000
commitde911c73504da8dd7d9bbaddcf0c0845dd6eb9a0 (patch)
treec1be675cab068c60f7461a67b396961227c9ae6d /debian/openssh-server.install
parent9477f029ee259b25daff503e02e6b011aea82ce3 (diff)
parentaf54c22db774b37a15df5e599d08a83d4bbe5079 (diff)
Start handling /etc/ssh/sshd_config using ucf.
* Start handling /etc/ssh/sshd_config using ucf. The immediate motivation for this is to deal with deprecations of options related to protocol 1, but something like this has been needed for a long time (closes: #419574, #848089): - sshd_config is now a slightly-patched version of upstream's, and only contains non-default settings (closes: #147201). - I've included as many historical md5sums of default versions of sshd_config as I could reconstruct from version control, but I'm sure I've missed some. - Explicitly synchronise the debconf database with the current configuration file state in openssh-server.config, to ensure that the PermitRootLogin setting is properly preserved. - UsePrivilegeSeparation now defaults to the stronger "sandbox" rather than "yes", per upstream.
Diffstat (limited to 'debian/openssh-server.install')
-rwxr-xr-xdebian/openssh-server.install3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/openssh-server.install b/debian/openssh-server.install
index f696de231..7fdf609a7 100755
--- a/debian/openssh-server.install
+++ b/debian/openssh-server.install
@@ -5,6 +5,9 @@ usr/share/man/man5/authorized_keys.5
5usr/share/man/man5/sshd_config.5 5usr/share/man/man5/sshd_config.5
6usr/share/man/man8/sshd.8 6usr/share/man/man8/sshd.8
7 7
8sshd_config => usr/share/openssh/sshd_config
9debian/openssh-server.ucf-md5sum => usr/share/openssh/sshd_config.md5sum
10
8debian/openssh-server.if-up => etc/network/if-up.d/openssh-server 11debian/openssh-server.if-up => etc/network/if-up.d/openssh-server
9debian/openssh-server.ufw.profile => etc/ufw/applications.d/openssh-server 12debian/openssh-server.ufw.profile => etc/ufw/applications.d/openssh-server
10debian/systemd/ssh.socket lib/systemd/system 13debian/systemd/ssh.socket lib/systemd/system