aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/openssh/openssh-5.9p1/sshd.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/openssh/openssh-5.9p1/sshd.service')
-rw-r--r--recipes-connectivity/openssh/openssh-5.9p1/sshd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-connectivity/openssh/openssh-5.9p1/sshd.service b/recipes-connectivity/openssh/openssh-5.9p1/sshd.service
new file mode 100644
index 0000000..1f1ca08
--- /dev/null
+++ b/recipes-connectivity/openssh/openssh-5.9p1/sshd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=SSH Secure Shell Service
+After=connman.service
+Requires=connman.service
+
+[Service]
+ExecStartPre=/lib/systemd/scripts/sshdgenkeys
+ExecStart=/usr/sbin/sshd -D
+
+[Install]
+WantedBy=multi-user.target
+
+# Note that this is the service file for running a single SSH server for all
+# incoming connections, suitable only for systems with a large amount of SSH
+# traffic. In almost all other cases it is a better idea to use sshd.socket +
+# sshd@.service.