diff options
author | Ryo Nakamura <upa@haeena.net> | 2024-03-12 15:24:09 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2024-03-12 15:24:09 +0900 |
commit | 0d248c5f6b9e8c91181950e0382d79723ab0f35e (patch) | |
tree | ee35bce364191b2a9f9c163a2323542c7823da63 /scripts/test-in-container.sh | |
parent | 9d02fc9122cb32a5aeeaea4b694447e1ff751c94 (diff) |
fix port tests and v6only test.
port test: sshd listens on 8022 and run mscp with -P 8022
v6only test: change remote name from localhost to ip6-localhost
Diffstat (limited to 'scripts/test-in-container.sh')
-rwxr-xr-x | scripts/test-in-container.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/test-in-container.sh b/scripts/test-in-container.sh index f24bfe4..eeaf9b5 100755 --- a/scripts/test-in-container.sh +++ b/scripts/test-in-container.sh @@ -8,6 +8,10 @@ cd $script_dir set -x +# sshd Linsten on 22 and 8022 +echo "Port 22" > /etc/ssh/sshd_config.d/mscp-test.conf +echo "Port 8022" >> /etc/ssh/sshd_config.d/mscp-test.conf + # Run sshd if [ ! -e /var/run/sshd.pid ]; then /usr/sbin/sshd |