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-4/run | |
| 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-4/run')
| -rwxr-xr-x | examples/source/sshd-4/run | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/source/sshd-4/run b/examples/source/sshd-4/run index 810ace3..785bea2 100755 --- a/examples/source/sshd-4/run +++ b/examples/source/sshd-4/run @@ -1,7 +1,9 @@ #!/command/execlineb -P fdmove -c 2 1 -importas -ui ETH0_IP4 ETH0_IP4 +s6-envdir /etc/env-network +importas -uSi ETH0_IP4 +emptyenv -p fdmove 1 3 -s6-tcpserver4 -v 2 -1 -- ${ETH0_IP4} 22 -s6-tcpserver-access -v 2 -DRl0 -t 5000 -i data/rules -- -dropbear -i -K 60 +s6-tcpserver -v -1 -- ${ETH0_IP4} 22 +s6-tcpserver-access -v2 -l0 -t 5000 -x /etc/tcprules/sshd.cdb -- +tinysshd -v /etc/tinyssh/keys |
