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.socket12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/systemd/ssh.socket b/debian/systemd/ssh.socket
new file mode 100644
index 000000000..5a766dcab
--- /dev/null
+++ b/debian/systemd/ssh.socket
@@ -0,0 +1,12 @@
1[Unit]
2Description=OpenBSD Secure Shell server socket
3Before=ssh.service
4Conflicts=ssh.service
5ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
6
7[Socket]
8ListenStream=22
9Accept=yes
10
11[Install]
12WantedBy=sockets.target