openssh-server-ssh-tunnel update/add workflows

This commit is contained in:
aptalca
2023-05-18 14:27:06 -04:00
parent a2fbf27cc4
commit 1d53a52a88
5 changed files with 60 additions and 55 deletions
@@ -1,6 +0,0 @@
#!/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"