summaryrefslogtreecommitdiff
path: root/scripts/test-in-container.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test-in-container.sh')
-rwxr-xr-xscripts/test-in-container.sh4
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