Skip to content
Snippets Groups Projects
Commit 9b84aab1 authored by Mathis Rosenhauer's avatar Mathis Rosenhauer
Browse files

start-vnc: compatibility with MacOS

parent 3407369f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment