Skip to content

Commit 5dbc9e5

Browse files
committed
test: insert Port to /etc/ssh/sshd_config
not to /etc/ssh/sshd_config.d/*.conf because openssh in Rocky Linux in 8 does not support the config.dy directory.
1 parent d03ae9f commit 5dbc9e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/test-in-container.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ cd $script_dir
99
set -x
1010

1111
# sshd Linsten on 22 and 8022
12-
echo "Port 22" > /etc/ssh/sshd_config.d/mscp-test.conf
13-
echo "Port 8022" >> /etc/ssh/sshd_config.d/mscp-test.conf
12+
echo "Port 22" >> /etc/ssh/sshd_config
13+
echo "Port 8022" >> /etc/ssh/sshd_config
1414

1515
# Run sshd
1616
if [ ! -e /var/run/sshd.pid ]; then

0 commit comments

Comments
 (0)