aboutsummaryrefslogtreecommitdiffstats
path: root/sshd.socket
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.socket')
-rw-r--r--sshd.socket10
1 files changed, 10 insertions, 0 deletions
diff --git a/sshd.socket b/sshd.socket
new file mode 100644
index 0000000..e09e328
--- /dev/null
+++ b/sshd.socket
@@ -0,0 +1,10 @@
+[Unit]
+Conflicts=sshd.service
+Wants=sshdgenkeys.service
+
+[Socket]
+ListenStream=22
+Accept=yes
+
+[Install]
+WantedBy=sockets.target