mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 03:24:58 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user