summaryrefslogtreecommitdiff
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 000000000..fa1f615e4
--- /dev/null
+++ b/debian/systemd/ssh.socket
@@ -0,0 +1,11 @@
1[Unit]
2Description=OpenBSD Secure Shell server socket
3Conflicts=ssh.service
4ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
5
6[Socket]
7ListenStream=22
8Accept=yes
9
10[Install]
11WantedBy=sockets.target