diff options
author | Ryo Nakamura <upa@haeena.net> | 2024-03-12 16:02:58 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2024-03-12 16:02:58 +0900 |
commit | 5dbc9e5bced111519b4d6b629ecbdb5c5b9c2325 (patch) | |
tree | e277692720ea727eb5fb5adde3df96c25a36dda6 /scripts | |
parent | d03ae9f592912a85763cc1fb5e74c2b4d8c6c71e (diff) |
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.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test-in-container.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test-in-container.sh b/scripts/test-in-container.sh index eeaf9b5..47f7c33 100755 --- a/scripts/test-in-container.sh +++ b/scripts/test-in-container.sh @@ -9,8 +9,8 @@ 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 +echo "Port 22" >> /etc/ssh/sshd_config +echo "Port 8022" >> /etc/ssh/sshd_config # Run sshd if [ ! -e /var/run/sshd.pid ]; then |