From e31a926143fd94a6e354acc1dd6f342ceaaaba58 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 1 Apr 2025 14:27:11 +0200 Subject: [PATCH] properly disable control path for lotus-vnc --- .ssh/config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ssh/config.in b/.ssh/config.in index 64ba62d..2f36e5b 100644 --- a/.ssh/config.in +++ b/.ssh/config.in @@ -274,6 +274,7 @@ Host lotus.gern Host lotus.gern-vnc HostName lotus ConnectTimeout 120 + ControlPath none ProxyCommand ssh wall.gern.madduck.net "n=30 && while ! nc -w 1 %h %p; do [ \$n -gt 0 ] || exit 1; wakeonlan -i 192.168.39.255 dc:fb:48:35:03:04; printf "%%02d: " \$n >&2; n=\$((\$n-1)); done" LocalForward localhost:8385 localhost:8384 RemoteCommand pkill x11vnc; x11vnc -display :0 -nopw -localhost -norepeat -gone '/usr/bin/xautolock -locknow' @@ -289,7 +290,7 @@ Host lotus.* | lotus Host lotus-vnc HostName lotus.fo.krafftwerk.de HostKeyAlias lotus - ControlMaster no + ControlPath none ConnectTimeout 120 ProxyCommand sh -c 'for i in 1 2 3; do wakeonlan -i 192.168.235.255 dc:fb:48:35:03:04 && sleep $i && socat - TCP:%h:%p,connect-timeout=120 && break; done' RemoteCommand pkill x11vnc; x11vnc -display :0 -rfbport 5960 -nopw -localhost -norepeat -gone '/usr/bin/xautolock -locknow' -- 2.39.5