Answers:
ProxyJump是在OpenSSH 7.3中添加的,但仅是使用的简写ProxyCommand,例如:
Host hidden-host
ProxyCommand ssh proxy-host -W %h:%p
如果您的ssh版本更高,则可能缺少该-W选项,在这种情况下,您可以使用nc,例如:
Host hidden-host
ProxyCommand ssh proxy-host nc %h %p 2> /dev/null
ssh -o ProxyCommand="ssh <proxy-host> -W %h:%p" <target>而不是ssh -J <proxy-host> <target>