mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-01 12:31:49 -04:00
7 lines
261 B
Plaintext
7 lines
261 B
Plaintext
#!/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"
|