run before custom scripts

This commit is contained in:
aptalca
2020-04-01 17:16:31 -04:00
parent 99bfca3e9b
commit 834d1ec8a9
2 changed files with 1 additions and 1 deletions
@@ -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"