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
This commit is contained in:
Ryo Nakamura
2024-03-12 15:24:09 +09:00
parent 9d02fc9122
commit 0d248c5f6b
2 changed files with 16 additions and 6 deletions

View File

@@ -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