From 0d248c5f6b9e8c91181950e0382d79723ab0f35e Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Tue, 12 Mar 2024 15:24:09 +0900 Subject: 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 --- scripts/test-in-container.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') 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 -- cgit v1.2.3