On Fri, Aug 12, 2016 at 7:39 PM, Philipp Marek <philipp.marek@xxxxxxxxxx> 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. _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev