ProxyJump in 7.3, depending on location

Christian Weisgerber naddy at
Fri Aug 12 22:17:19 AEST 2016

On 2016-08-12, Philipp Marek <philipp.marek at> wrote:

> 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

  The exec keyword executes the specified command under the user's
  shell.  If the command returns a zero exit status then the condition
  is considered true.  Commands containing whitespace characters
  must be quoted.  The following character sequences in the command
  will be expanded prior to execution: [...]

Christian "naddy" Weisgerber                          naddy at

More information about the openssh-unix-dev mailing list