X-Git-Url: https://git.madduck.net/etc/ssh.git/blobdiff_plain/78c7fd6f8ba2bab521c47d020247f58f1cea51be..c00e46840e60b230c4b0575d1cc44533fbd01cc0:/.ssh/Makefile?ds=sidebyside 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##&,' \