summaryrefslogtreecommitdiffstats
path: root/src/lib/source/system/other/sshd-srv
diff options
context:
space:
mode:
authorPS <p@0x53.net>2026-02-01 12:02:03 +0100
committerPS <p@0x53.net>2026-02-01 12:02:03 +0100
commit980c5408489a3a3a56e49c3873f1bce6a0155cad (patch)
tree91df5fa62e7eca03d04b8ed114b20b337b99a556 /src/lib/source/system/other/sshd-srv
downloadgoetia-base-980c5408489a3a3a56e49c3873f1bce6a0155cad.tar.gz
goetia-base-980c5408489a3a3a56e49c3873f1bce6a0155cad.tar.bz2
goetia-base-980c5408489a3a3a56e49c3873f1bce6a0155cad.zip
version 0.2.0.0
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