From a78b0a7cb3fb7b7e3d920a70b92cc64d1f5e1fd9 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 13 Oct 2022 23:13:15 +0200 Subject: [PATCH] ProxyUseFdPass in commented-out proxy call for lotus --- .ssh/config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ssh/config.in b/.ssh/config.in index 6863f79..ffb4ac5 100644 --- a/.ssh/config.in +++ b/.ssh/config.in @@ -185,7 +185,8 @@ Host lotus.* Host lotus | lotus.rw.madduck.net CheckHostIP no HostKeyAlias lotus - #ProxyCommand bash -c "TARGETS=$( (TRIES=%h.{gern,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" + #ProxyCommand bash -c "TARGETS=$( (TRIES=%h.{gern,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 -F -vq0 \${TARGETS%%%%,*} %p" + #ProxyUseFdpass yes LocalForward localhost:8385 localhost:8384 Host ini | ini.dyndns.madduck.net -- 2.39.5