summaryrefslogtreecommitdiffstats
path: root/src/lib/source/system/other/sshd-srv
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/source/system/other/sshd-srv')
-rw-r--r--src/lib/source/system/other/sshd-srv/dependencies.d/networking0
-rw-r--r--src/lib/source/system/other/sshd-srv/producer-for1
-rw-r--r--src/lib/source/system/other/sshd-srv/run17
-rw-r--r--src/lib/source/system/other/sshd-srv/type1
4 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/source/system/other/sshd-srv/dependencies.d/networking b/src/lib/source/system/other/sshd-srv/dependencies.d/networking
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/lib/source/system/other/sshd-srv/dependencies.d/networking
diff --git a/src/lib/source/system/other/sshd-srv/producer-for b/src/lib/source/system/other/sshd-srv/producer-for
new file mode 100644
index 0000000..b8ef8c5
--- /dev/null
+++ b/src/lib/source/system/other/sshd-srv/producer-for
@@ -0,0 +1 @@
+sshd-log
diff --git a/src/lib/source/system/other/sshd-srv/run b/src/lib/source/system/other/sshd-srv/run
new file mode 100644
index 0000000..6282b83
--- /dev/null
+++ b/src/lib/source/system/other/sshd-srv/run
@@ -0,0 +1,17 @@
+#!@shebangdir@/execlineb -P
+
+# ISC license.
+# https://www.openssh.com/
+
+fdmove -c 2 1
+
+foreground { /bin/ssh-keygen -A }
+
+ifelse -n { /bin/sshd -t }
+{
+ exit 125
+}
+
+/bin/sshd
+ -D
+ -e
diff --git a/src/lib/source/system/other/sshd-srv/type b/src/lib/source/system/other/sshd-srv/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/src/lib/source/system/other/sshd-srv/type
@@ -0,0 +1 @@
+longrun