From 07c91a76a3b9a39072b83bd560cc8e2f10f95fd3 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 9 Oct 2024 11:14:08 +0200 Subject: [PATCH] send wol every second for lotus --- .ssh/config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ssh/config.in b/.ssh/config.in index 3f735ac..6e3634e 100644 --- a/.ssh/config.in +++ b/.ssh/config.in @@ -239,13 +239,13 @@ Host lotus.gern HostName lotus ConnectTimeout 120 ForwardAgent yes - ProxyCommand ssh wall.gern.madduck.net "wakeonlan -i 192.168.39.255 dc:fb:48:35:03:04 && n=30 && while ! nc -w 1 %h %p; do [ \$n -gt 0 ] || exit 1; printf "%%02d: " \$n >&2; n=\$((\$n-1)); done" + 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 Host lotus.gern-vnc HostName lotus ConnectTimeout 120 - ProxyCommand ssh wall.gern.madduck.net "wakeonlan -i 192.168.39.255 dc:fb:48:35:03:04 && n=30 && while ! nc -w 1 %h %p; do [ \$n -gt 0 ] || exit 1; printf "%%02d: " \$n >&2; n=\$((\$n-1)); done" + 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' -- 2.39.5