ProxyJump in 7.3, depending on location

Christian Weisgerber naddy at mips.inka.de
Tue Aug 23 05:45:13 AEST 2016


Philipp Marek:

> Ie. is it possible to get one persistent connection to the jump hosts, and 
> to reuse them via ProxyJump?

Certainly.

>     Host *.behind.jump.host
>         ProxyJump <user>@<first-jump-host>,<next-jump-hop>
> 
>     Host <first-jump-host>
>         User <user>
>         ControlMaster auto
>         ControlPersist yes

          ControlPath ~/.ssh/ssh-%C

You need to add a ControlPath in order for opportunistic connection
sharing to be used.

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de


More information about the openssh-unix-dev mailing list