summaryrefslogtreecommitdiffstats
path: root/debian/systemd/sshd@.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/systemd/sshd@.service')
-rw-r--r--debian/systemd/sshd@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/systemd/sshd@.service b/debian/systemd/sshd@.service
new file mode 100644
index 0000000..29864a8
--- /dev/null
+++ b/debian/systemd/sshd@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=OpenBSD Secure Shell server per-connection daemon
+Documentation=man:sshd(8) man:sshd_config(5)
+After=auditd.service
+
+[Service]
+EnvironmentFile=-/etc/default/ssh
+ExecStart=-/usr/sbin/sshd -i $SSHD_OPTS
+StandardInput=socket
+RuntimeDirectory=sshd
+RuntimeDirectoryPreserve=yes
+RuntimeDirectoryMode=0755