Ajout du support pour définition du port d'écoute et formattage de sshd_config

This commit is contained in:
Ostantia 2023-04-10 10:31:58 +02:00 committed by GitHub
parent 09672acefd
commit f1a110b831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@ service anacron start
echo "Monosphere anacron scheduler is successfully started" echo "Monosphere anacron scheduler is successfully started"
echo "Monosphere sshd service daemon is verifying its configuration..." echo "Monosphere sshd service daemon is verifying its configuration..."
echo "Port ${PORT}" >> /etc/ssh/sshd_config
sshd -t sshd -t
echo "Monosphere sshd service daemon configuration verified" echo "Monosphere sshd service daemon configuration verified"