mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-17 05:42:54 -04:00
Merge pull request #454 from linuxserver/openssh-server-ssh-tunnel-s6v3
switch to hybrid (openssh-server-ssh-tunnel)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# allow tcp forwarding within openssh settings
|
||||
sed -i '/^AllowTcpForwarding/c\AllowTcpForwarding yes' /etc/ssh/sshd_config
|
||||
sed -i '/^GatewayPorts/c\GatewayPorts clientspecified' /etc/ssh/sshd_config
|
||||
echo "TcpForwarding is enabled"
|
||||
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-openssh-server-ssh-tunnel-setup/run
|
||||
Reference in New Issue
Block a user