From 9b84aab138c473b1b62840cea8eeb9826bdb572c Mon Sep 17 00:00:00 2001 From: Mathis Rosenhauer <rosenhauer@dkrz.de> Date: Fri, 17 Jan 2020 09:38:18 +0100 Subject: [PATCH] start-vnc: compatibility with MacOS --- start-vnc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-vnc b/start-vnc index 0caa749..ff5336c 100755 --- a/start-vnc +++ b/start-vnc @@ -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 -- GitLab