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:
@@ -7,4 +7,7 @@ fi
|
|||||||
mkdir -p /run/sshd
|
mkdir -p /run/sshd
|
||||||
chmod 744 /run/sshd
|
chmod 744 /run/sshd
|
||||||
|
|
||||||
|
echo "**** Configure SSH service ****";
|
||||||
|
echo 'Port 2222' > /etc/ssh/ssh_config.d/port.conf
|
||||||
|
|
||||||
echo "DONE"
|
echo "DONE"
|
||||||
|
|||||||
@@ -3,7 +3,9 @@
|
|||||||
autostart=true
|
autostart=true
|
||||||
priority=10
|
priority=10
|
||||||
directory=/
|
directory=/
|
||||||
command=/usr/sbin/sshd -D
|
command=/usr/sbin/sshd -Ddp 2222
|
||||||
user=root
|
user=root
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stopsignal=QUIT
|
stopsignal=QUIT
|
||||||
|
stdout_logfile=/var/log/supervisor/xorg.log
|
||||||
|
stderr_logfile=/var/log/supervisor/xorg.err
|
||||||
|
|||||||
Reference in New Issue
Block a user