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
|
||||
chmod 744 /run/sshd
|
||||
|
||||
echo "**** Configure SSH service ****";
|
||||
echo 'Port 2222' > /etc/ssh/ssh_config.d/port.conf
|
||||
|
||||
echo "DONE"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user