Commit 9b84aab1 authored by Mathis Rosenhauer's avatar Mathis Rosenhauer

start-vnc: compatibility with MacOS

parent 3407369f
......@@ -300,7 +300,7 @@ main () {
local vnc_port_local=$((5900 + RANDOM % 100))
local vnc_port_remote=$(( 5900 + vnc_display ))
until ssh -o ForwardX11=no \
-o StrictHostKeyChecking=accept-new \
-o StrictHostKeyChecking=ask \
-L "${vnc_port_local}:localhost:${vnc_port_remote}" \
-Nf \
"${SVNC_USERNAME}@${vnc_host}.dkrz.de"; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment