From: martin f. krafft Date: Wed, 9 Oct 2024 09:14:08 +0000 (+0200) Subject: send wol every second for lotus X-Git-Url: https://git.madduck.net/etc/ssh.git/commitdiff_plain/refs/heads/master send wol every second for lotus --- 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'