Skip to content

Commit a3aabd7

Browse files
committed
switch to hybrid
1 parent c4237c5 commit a3aabd7

File tree

6 files changed

+8
-0
lines changed

6 files changed

+8
-0
lines changed

root/etc/s6-overlay/s6-rc.d/init-mod-openssh-server-ssh-tunnel-setup/dependencies.d/init-mods

Whitespace-only changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/with-contenv bash
2+
3+
# allow tcp forwarding within openssh settings
4+
sed -i '/^AllowTcpForwarding/c\AllowTcpForwarding yes' /etc/ssh/sshd_config
5+
sed -i '/^GatewayPorts/c\GatewayPorts clientspecified' /etc/ssh/sshd_config
6+
echo "TcpForwarding is enabled"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
oneshot
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/etc/s6-overlay/s6-rc.d/init-mod-openssh-server-ssh-tunnel-setup/run

root/etc/s6-overlay/s6-rc.d/init-mods-end/dependencies.d/init-mod-openssh-server-ssh-tunnel-setup

Whitespace-only changes.

root/etc/s6-overlay/s6-rc.d/user/contents.d/init-mod-openssh-server-ssh-tunnel-setup

Whitespace-only changes.

0 commit comments

Comments
 (0)