From 11cbb530aa4ca54344eb8941342bfe510f4b981b Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 10 Feb 2014 14:37:55 +0000 Subject: Add systemd support (thanks, Sven Joachim; closes: #676830). --- debian/README.Debian | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'debian/README.Debian') diff --git a/debian/README.Debian b/debian/README.Debian index 00dfea13d..b9efeb9f5 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -201,6 +201,26 @@ If you do this, note that you will need to stop sshd being started in the normal way ('rm -f /etc/rc[2345].d/S16ssh') and that you will need to restart this sshd manually on upgrades. +systemd socket activation +------------------------- + +If you want to reconfigure systemd to launch sshd using socket activation, +then you can run: + + systemctl stop ssh.service + systemctl start ssh.socket + +To make this permanent: + + systemctl disable ssh.service + systemctl enable ssh.socket + +This may be appropriate in environments where minimal footprint is critical +(e.g. cloud guests). Be aware that this bypasses MaxStartups, and systemd's +MaxConnections cannot quite replace this as it cannot distinguish between +authenticated and unauthenticated connections; see +https://bugzilla.redhat.com/show_bug.cgi?id=963268 for more discussion. + -- Matthew Vernon Colin Watson -- cgit v1.2.3