diff options
Diffstat (limited to 'scripts/test-in-container.sh')
-rwxr-xr-x | scripts/test-in-container.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/test-in-container.sh b/scripts/test-in-container.sh index 21a9969..e4e10fc 100755 --- a/scripts/test-in-container.sh +++ b/scripts/test-in-container.sh @@ -12,6 +12,9 @@ set -x echo "Port 22" >> /etc/ssh/sshd_config echo "Port 8022" >> /etc/ssh/sshd_config +## Alpine default sshd disables TcpForwarding, which is required for proxyjump test +sed -i -e 's/AllowTcpForwarding no/AllowTcpForwarding yes/' /etc/ssh/sshd_config + # Run sshd if [ ! -e /var/run/sshd.pid ]; then /usr/sbin/sshd |