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