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