mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-18 17:46:21 +00:00
Update novnc/Dockerfile
This commit is contained in:
parent
b3b0e75b9e
commit
529f4491a9
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ fi
|
||||||
# Read ssh client variables hostname and port (5900, 5901, 5902, etc)
|
# Read ssh client variables hostname and port (5900, 5901, 5902, etc)
|
||||||
if ssh ${MYVNC_VNCCLIENT_HOST} exit
|
if ssh ${MYVNC_VNCCLIENT_HOST} exit
|
||||||
then
|
then
|
||||||
ssh ${MYVNC_VNCCLIENT_HOST} -L ${MYVNC_VNCSERVER_PORT:-5900}:localhost:${MYVNC_VNCCLIENT_PORT} &
|
ssh ${MYVNC_VNCCLIENT_HOST} -L ${MYVNC_VNCLISTEN_HOST:-5900}:localhost:${MYVNC_VNCCLIENT_PORT} &
|
||||||
else
|
else
|
||||||
echo "Unable to establish SSH tunnel."
|
echo "Unable to establish SSH tunnel."
|
||||||
echo "Exiting..."
|
echo "Exiting..."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue