summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/README.Debian14
-rw-r--r--debian/changelog3
2 files changed, 14 insertions, 3 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
index f17ccb187..58a5741b0 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -203,9 +203,17 @@ authenticated and unauthenticated connections; see
203https://bugzilla.redhat.com/show_bug.cgi?id=963268 for more discussion. 203https://bugzilla.redhat.com/show_bug.cgi?id=963268 for more discussion.
204 204
205The provided ssh.socket unit file sets ListenStream=22. If you need to have 205The provided ssh.socket unit file sets ListenStream=22. If you need to have
206it listen on a different address or port, then you will need to do this by 206it listen on a different address or port, then you will need to do this as
207copying /lib/systemd/system/ssh.socket to /etc/systemd/system/ssh.socket and 207follows (modifying ListenStream to match your requirements):
208modifying the ListenStream option. See systemd.socket(5) for details. 208
209 mkdir -p /etc/systemd/system/ssh.socket.d
210 cat >/etc/systemd/system/ssh.socket.d/listen.conf <<EOF
211 [Socket]
212 ListenStream=2222
213 EOF
214 systemctl daemon-reload
215
216See systemd.socket(5) for details.
209 217
210Terminating SSH sessions cleanly on shutdown/reboot with systemd 218Terminating SSH sessions cleanly on shutdown/reboot with systemd
211---------------------------------------------------------------- 219----------------------------------------------------------------
diff --git a/debian/changelog b/debian/changelog
index 32e79e9ab..315277151 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -105,6 +105,9 @@ openssh (1:7.6p1-1) UNRELEASED; urgency=medium
105 * Adjust "Running sshd from inittab" instructions in README.Debian to 105 * Adjust "Running sshd from inittab" instructions in README.Debian to
106 recommend using service(8) rather than calling the init script directly. 106 recommend using service(8) rather than calling the init script directly.
107 * Policy version 4.1.0. 107 * Policy version 4.1.0.
108 * Adjust "Per-connection sshd instances with systemd" instructions in
109 README.Debian to recommend using a drop-in file rather than copying and
110 modifying the ssh.socket unit file.
108 111
109 -- Colin Watson <cjwatson@debian.org> Wed, 04 Oct 2017 12:34:34 +0100 112 -- Colin Watson <cjwatson@debian.org> Wed, 04 Oct 2017 12:34:34 +0100
110 113