ProxyJump in 7.3, depending on location

Philipp Marek philipp.marek at linbit.com
Fri Aug 12 22:23:28 AEST 2016


> > 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?
Great, thanks.

I seem to have not understood the man page correctly ;/


Thanks a lot!



More information about the openssh-unix-dev mailing list