From 78c7fd6f8ba2bab521c47d020247f58f1cea51be Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 23 Jun 2017 16:39:59 +0200 Subject: [PATCH] replace proxyjump with proxycommand for v6 --- .ssh/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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##&,' \ -- 2.39.2