From: martin f. krafft Date: Sat, 25 Apr 2020 20:13:13 +0000 (+1200) Subject: gauting cleanup X-Git-Url: https://git.madduck.net/etc/ssh.git/commitdiff_plain/17a723981052698001d1a7067d9e05271588dcb1 gauting cleanup --- diff --git a/.ssh/config.in b/.ssh/config.in index 379287f..71609e7 100644 --- a/.ssh/config.in +++ b/.ssh/config.in @@ -161,10 +161,6 @@ Host mothere CheckHostIP no HostKeyAlias mother.gauting.madduck.net -Host bell.gauting | bell | bell.gauting.madduck.net - Hostname bell.fritz.box - HostKeyAlias bell.gauting.madduck.net - ### MTVIC Host wall.mtvic.madduck.net | wall.mtvic | wall @@ -212,7 +208,7 @@ Host lotus.* Host lotus | lotus.rw.madduck.net CheckHostIP no HostKeyAlias lotus - ProxyCommand bash -c "TARGETS=$( (TRIES=%h.{mtvic,catalyst,lehel,gauting,rw}.madduck.net; eval fping -aAC1 -t500 $TRIES 2>&1 & eval fping6 -aAC1 -t500 $TRIES 2>&1; wait) | sed -rne 's, : ([[:digit:]]), @\1,p' | sort -t@ -k2n | sed -ne 's, .*,,p' | tr '\n' ','); echo Targets: \$TARGETS using \${TARGETS%%%%,*} … >&2; exec nc -vq0 \${TARGETS%%%%,*} %p" + ProxyCommand bash -c "TARGETS=$( (TRIES=%h.{mtvic,catalyst,lehel,rw}.madduck.net; eval fping -aAC1 -t500 $TRIES 2>&1 & eval fping6 -aAC1 -t500 $TRIES 2>&1; wait) | sed -rne 's, : ([[:digit:]]), @\1,p' | sort -t@ -k2n | sed -ne 's, .*,,p' | tr '\n' ','); echo Targets: \$TARGETS using \${TARGETS%%%%,*} … >&2; exec nc -vq0 \${TARGETS%%%%,*} %p" LocalForward localhost:8385 localhost:8384 Host ini | ini.dyndns.madduck.net