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