From 68427f79fba4aadd0c2c7fe58023d265ee7fd377 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 12 Jul 2017 13:29:03 -0400 Subject: [PATCH] handle proxyjump absent from v7.2 --- .ssh/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.ssh/Makefile b/.ssh/Makefile index 1a3a37f..2ba6e4a 100644 --- a/.ssh/Makefile +++ b/.ssh/Makefile @@ -28,6 +28,9 @@ SSH_VERSION = $(shell ssh -V 2>&1) config: $(LOCAL_CONFIG) config.in cat $^ > $@ case "$(SSH_VERSION)" in \ + (OpenSSH_7.[12]*) \ + sed -ri -e 's,ProxyJump ([-.[:alnum:]]+),ProxyCommand ssh \1 nc -q0 %h %p,' $@ \ + ;; \ (OpenSSH_6.*) \ sed -ri -e 's,^.+\bCanonical.+$$,##UNSUPPORTED##&,' \ -e 's,^.+\bIgnoreUnknown\b.+$$,##UNSUPPORTED##&,' \ -- 2.39.5