diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-05-05 06:29:50 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-05-05 06:29:50 +0000 |
| commit | e18d6958b2470a2e68cc637945ccf3a1dae5c0a2 (patch) | |
| tree | 90e065e7b7422c2f2dbd5d924dfcd14a2866de39 /examples/source/sshd-6 | |
| parent | 09ccd3128f2296d3a0cd1602e64caf06cf22c64f (diff) | |
| download | s6-rc-e18d6958b2470a2e68cc637945ccf3a1dae5c0a2.tar.gz | |
Update examples
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/source/sshd-6')
| -rw-r--r-- | examples/source/sshd-6/dependencies | 2 | ||||
| -rw-r--r-- | examples/source/sshd-6/notification-fd | 1 | ||||
| -rw-r--r-- | examples/source/sshd-6/producer-for | 1 | ||||
| -rwxr-xr-x | examples/source/sshd-6/run | 9 | ||||
| -rw-r--r-- | examples/source/sshd-6/type | 1 |
5 files changed, 14 insertions, 0 deletions
diff --git a/examples/source/sshd-6/dependencies b/examples/source/sshd-6/dependencies new file mode 100644 index 0000000..f8ce65f --- /dev/null +++ b/examples/source/sshd-6/dependencies @@ -0,0 +1,2 @@ +init-ipv6 +init-urandom diff --git a/examples/source/sshd-6/notification-fd b/examples/source/sshd-6/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/examples/source/sshd-6/notification-fd @@ -0,0 +1 @@ +3 diff --git a/examples/source/sshd-6/producer-for b/examples/source/sshd-6/producer-for new file mode 100644 index 0000000..b8ef8c5 --- /dev/null +++ b/examples/source/sshd-6/producer-for @@ -0,0 +1 @@ +sshd-log diff --git a/examples/source/sshd-6/run b/examples/source/sshd-6/run new file mode 100755 index 0000000..ca315c0 --- /dev/null +++ b/examples/source/sshd-6/run @@ -0,0 +1,9 @@ +#!/command/execlineb -P +fdmove -c 2 1 +s6-envdir /etc/env-network +importas -uSi ETH0_IP6 +emptyenv -p +fdmove 1 3 +s6-tcpserver -v -1 -- ${ETH0_IP6} 22 +s6-tcpserver-access -v2 -l0 -t 5000 -x /etc/tcprules/sshd.cdb -- +tinysshd -v /etc/tinyssh/keys diff --git a/examples/source/sshd-6/type b/examples/source/sshd-6/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/examples/source/sshd-6/type @@ -0,0 +1 @@ +longrun |
