summaryrefslogtreecommitdiff
path: root/debian/README.Debian
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-02-10 14:37:55 +0000
committerColin Watson <cjwatson@debian.org>2014-02-10 14:37:55 +0000
commit11cbb530aa4ca54344eb8941342bfe510f4b981b (patch)
tree3cc6e4aa03bb76121fa1d4f8ee2fbcbdc6cdb5c1 /debian/README.Debian
parente4c505521f820cadada465ebfa8ff12e3d37feb9 (diff)
Add systemd support (thanks, Sven Joachim; closes: #676830).
Diffstat (limited to 'debian/README.Debian')
-rw-r--r--debian/README.Debian20
1 files changed, 20 insertions, 0 deletions
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
201normal way ('rm -f /etc/rc[2345].d/S16ssh') and that you will need to 201normal way ('rm -f /etc/rc[2345].d/S16ssh') and that you will need to
202restart this sshd manually on upgrades. 202restart this sshd manually on upgrades.
203 203
204systemd socket activation
205-------------------------
206
207If you want to reconfigure systemd to launch sshd using socket activation,
208then you can run:
209
210 systemctl stop ssh.service
211 systemctl start ssh.socket
212
213To make this permanent:
214
215 systemctl disable ssh.service
216 systemctl enable ssh.socket
217
218This may be appropriate in environments where minimal footprint is critical
219(e.g. cloud guests). Be aware that this bypasses MaxStartups, and systemd's
220MaxConnections cannot quite replace this as it cannot distinguish between
221authenticated and unauthenticated connections; see
222https://bugzilla.redhat.com/show_bug.cgi?id=963268 for more discussion.
223
204-- 224--
205Matthew Vernon <matthew@debian.org> 225Matthew Vernon <matthew@debian.org>
206Colin Watson <cjwatson@debian.org> 226Colin Watson <cjwatson@debian.org>