summaryrefslogtreecommitdiffstats
path: root/debian/systemd/ssh.socket
diff options
context:
space:
mode:
Diffstat (limited to 'debian/systemd/ssh.socket')
-rw-r--r--debian/systemd/ssh.socket11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/systemd/ssh.socket b/debian/systemd/ssh.socket
new file mode 100644
index 0000000..1de1280
--- /dev/null
+++ b/debian/systemd/ssh.socket
@@ -0,0 +1,11 @@
+[Unit]
+Description=OpenBSD Secure Shell server socket
+Before=sockets.target
+ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
+
+[Socket]
+ListenStream=22
+Accept=no
+
+[Install]
+WantedBy=sockets.target