summary refs log tree commit diff
path: root/os/etc/s6-rc/src/sshd/run
diff options
context:
space:
mode:
Diffstat (limited to 'os/etc/s6-rc/src/sshd/run')
-rw-r--r--os/etc/s6-rc/src/sshd/run3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/etc/s6-rc/src/sshd/run b/os/etc/s6-rc/src/sshd/run
new file mode 100644
index 0000000..18ea579
--- /dev/null
+++ b/os/etc/s6-rc/src/sshd/run
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+foreground { redirfd -w 2 /dev/null ssh-keygen -A }
+exec /usr/sbin/sshd -D