From 4ce62079cf1254553cd34e5d3b315e1548bfa191 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Sun, 14 Apr 2024 15:49:27 +0900 Subject: add -J proxyjump option (#15) --- scripts/test-in-container.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/test-in-container.sh') 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 -- cgit v1.2.3