X-Git-Url: https://git.madduck.net/etc/ssh.git/blobdiff_plain/2d3a9fbcb65f9d4e138e7ae8b392a093b4c4bd33..e31a926143fd94a6e354acc1dd6f342ceaaaba58:/.ssh/config.in?ds=sidebyside 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'