ProxyJump in 7.3, depending on location
Darren Tucker
dtucker at zip.com.au
Fri Aug 12 22:20:13 AEST 2016
On Fri, Aug 12, 2016 at 7:39 PM, Philipp Marek <philipp.marek at linbit.com> wrote:
> For example, from home, I (resp. a shell script) need to jump to the
> office's server, a customers' login host, and then to the destination
> node; from the office I could skip the first jump.
>
> I'm aware of the "Match" keyword in .ssh/config; but I don't see how
> I could use that here, as I cannot check for the locally configured
> IP address or network to find out "where" I am.
Match exec, put your detection logic in a script, and have two
ProxyJump config lines?
--
Darren Tucker (dtucker at zip.com.au)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new)
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list