From: martin f. krafft Date: Thu, 13 Oct 2022 21:13:15 +0000 (+0200) Subject: ProxyUseFdPass in commented-out proxy call for lotus X-Git-Url: https://git.madduck.net/etc/ssh.git/commitdiff_plain/a78b0a7cb3fb7b7e3d920a70b92cc64d1f5e1fd9?ds=inline ProxyUseFdPass in commented-out proxy call for lotus --- 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