SSH needs to run on another port if we are using host network.

We are now forced to used host network because of udev
This commit is contained in:
Josh.5
2022-01-15 08:38:39 +13:00
parent 446a043703
commit 9d7b27066c
2 changed files with 6 additions and 1 deletions

View File

@@ -7,4 +7,7 @@ fi
mkdir -p /run/sshd
chmod 744 /run/sshd
echo "**** Configure SSH service ****";
echo 'Port 2222' > /etc/ssh/ssh_config.d/port.conf
echo "DONE"

View File

@@ -3,7 +3,9 @@
autostart=true
priority=10
directory=/
command=/usr/sbin/sshd -D
command=/usr/sbin/sshd -Ddp 2222
user=root
autorestart=true
stopsignal=QUIT
stdout_logfile=/var/log/supervisor/xorg.log
stderr_logfile=/var/log/supervisor/xorg.err