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