diff options
author | Ryo Nakamura <upa@haeena.net> | 2024-04-14 15:49:27 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2024-04-14 16:22:31 +0900 |
commit | 4ce62079cf1254553cd34e5d3b315e1548bfa191 (patch) | |
tree | fcf4188cbfa79402c933f37db9bd218fc3d235b8 /scripts | |
parent | e47d5b76e6cfcd649960019ca8c58d7c5d5a5930 (diff) |
add -J proxyjump option (#15)
Diffstat (limited to 'scripts')
-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 |