From 07c91a76a3b9a39072b83bd560cc8e2f10f95fd3 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 9 Oct 2024 11:14:08 +0200 Subject: [PATCH 1/2] 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 From b38736a01f2ca7172fc6f7373d6c6b8bf162ffa8 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 5 Nov 2024 16:28:53 +0100 Subject: [PATCH 2/2] add docker.krafftwerk --- .ssh/config.in | 4 ++++ .ssh/known_hosts.d/fo.krafftwerk.de | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.ssh/config.in b/.ssh/config.in index 6e3634e..53e6374 100644 --- a/.ssh/config.in +++ b/.ssh/config.in @@ -167,6 +167,10 @@ Host albatross-luks AddressFamily inet User root +Host docker.fo.krafftwerk.de | dockerkr + HostName docker.fo.krafftwerk.de + HostKeyAlias docker.fo.krafftwerk.de + ### TONI Host gerald.toni.madduck.net | gerald.toni | gerald | gerald.int.toni.immo | martin.int.toni.immo diff --git a/.ssh/known_hosts.d/fo.krafftwerk.de b/.ssh/known_hosts.d/fo.krafftwerk.de index 86fcdbb..f59c25b 100644 --- a/.ssh/known_hosts.d/fo.krafftwerk.de +++ b/.ssh/known_hosts.d/fo.krafftwerk.de @@ -1,3 +1,6 @@ albatross.fo.krafftwerk.de,192.168.235.1 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCX9H14+Y2QOn5L76xSYsG+0sEUYaUnM1N6FXxoXnyIZAD0CZ8hPwWOvxKbYWS8HbGVsVKFng7gBJ98SzfTAsbygyPbqq33sAdat7ctSRiXXclOYbcZGqet7axAi/bJhIjvegeUh+2a90cDQUJRusrjzAghChAv5Y11wblQVODxnQmsgFnSfRctB7AcT5ITpnWaafqAx8fVuuGFhOKgwsyUx+x41JmTyJPBcEAbRWcb1cyyRLOmwOE4+/l1X3atk4J/m0pM1e9KPh4BPnmANSvqdJwdTneTMdkZWFuDwfGEsFiO7iPWmL06n4AH2JKIHSYeiHQORxKC0A27eKZe5Gdp albatross.fo.krafftwerk.de,192.168.235.1 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBL/0qHLZuoFtMhEHk0dmirxuyWLRuff2k3nrMW7ppwfK9Vrw6YqawBkBh4QJMMPwY1y287/tVSLFy+IE5Fk060U= albatross.fo.krafftwerk.de,192.168.235.1 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGbo/v9gWLLARK9SIg9NmfYCkjTGZPOXNaXgtKFOPa7R +docker.fo.krafftwerk.de,192.168.231.249 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDfCGW/6LjuJzwZYnQMd9O8FAhWRP4pn+uyrwCu2mE4CKol0XV4+H9mOVolaTkio2ngo7BAkBYh44FxCtSAv3Ot4HcG1FIJd31T/2s5fQM2jt8Kwac505LdwDR3yrUCJ5B+jLBRail1eLJpLOGOWhE8MgG5jH6Q6r6ta/rYAstc5bfUS9DsJV6o2Jqbqs/gpl0F2G/7MnALM882tA/D1KMQH8ukdgG8gafVuyLb26lsmtbR809S1b9Pa3vgWqgP2Ld3O2iczSABhEMZBloSkWGptx/jFzOGobK0a1DlKxXcWDjyOFtnGwVX72i7DfrTmXIF5kzsCW2BEtInSg62LfhrJkua7AUmLzfdFaUWR4Li6wXnsF1kwOhv5sXxSbti8ZJOAxOKlAIb3YWMmQ1OGYZJmHbZVouJyzLOT+9SY2+RqbwqPEcRuqEpb4bm/n1+OEIXh4GiYHLjB8VJQiLyZ4U4Qop+iFT9F0U0vlTrUON+S0uHAFIcnqrTo5TQve+CXtk= +docker.fo.krafftwerk.de,192.168.231.249 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBD3wyXeqn+YS5pOxUAXT9u3TNQ5J7tTU3vLKgMiCKeLrEwjpcFYBIpMyQPusw43PcDW54QdotS9JOGuSUPKZ4XU= +docker.fo.krafftwerk.de,192.168.231.249 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAPPL2uMB1WneHc/ajH/n9bjdrxu/KA8Jb3QJsNsLtch -- 2.39.5