From: martin f. krafft Date: Wed, 12 Jul 2017 17:29:03 +0000 (-0400) Subject: handle proxyjump absent from v7.2 X-Git-Url: https://git.madduck.net/etc/ssh.git/commitdiff_plain/68427f79fba4aadd0c2c7fe58023d265ee7fd377?ds=sidebyside handle proxyjump absent from v7.2 --- 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##&,' \