From 672fb6d86c1747f6e03bdb72e6f92fb106d7d4ba Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 28 Jul 2016 15:55:21 +0200 Subject: [PATCH] properly search for fishbowl in nz --- .ssh/config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ssh/config.in b/.ssh/config.in index f10b637..7231594 100644 --- a/.ssh/config.in +++ b/.ssh/config.in @@ -272,7 +272,7 @@ Host fishbowl | fishbowl.rw.madduck.net ForwardAgent yes ForwardX11 yes HostKeyAlias fishbowl - ProxyCommand bash -c "TARGETS=$( (TRIES=%h.{gern,lehel,gauting,atom,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; nc -vq0 \${TARGETS%%%%,*} %p" + ProxyCommand bash -c "TARGETS=$( (TRIES=%h.{gern,lehel,gauting,mtvic,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; nc -vq0 \${TARGETS%%%%,*} %p" ### LOCAL VIRT HOSTS -- 2.39.5