From: martin f. krafft Date: Fri, 23 Jun 2017 14:39:59 +0000 (+0200) Subject: replace proxyjump with proxycommand for v6 X-Git-Url: https://git.madduck.net/etc/ssh.git/commitdiff_plain/78c7fd6f8ba2bab521c47d020247f58f1cea51be replace proxyjump with proxycommand for v6 --- diff --git a/.ssh/Makefile b/.ssh/Makefile index 493898e..1a3a37f 100644 --- a/.ssh/Makefile +++ b/.ssh/Makefile @@ -33,7 +33,8 @@ config: $(LOCAL_CONFIG) config.in -e 's,^.+\bIgnoreUnknown\b.+$$,##UNSUPPORTED##&,' \ -e 's,^.+\bUpdateHostKeys\b.+$$,##UNSUPPORTED##&,' \ -e 's,^Match host ,Host ,' \ - $@ \ + $@; \ + sed -ri -e 's,ProxyJump ([-.[:alnum:]]+),ProxyCommand ssh \1 nc -q0 %h %p,' $@ \ ;; \ (OpenSSH_5.*) \ sed -ri -e 's,^.+\bControlPersist\b.+$$,##UNSUPPORTED##&,' \