Page MenuHomePhabricator

Support multi-criteria Match like Match host `hostname` exec `statement`
Open, WishlistPublic


ssh_configs like the following are not supported yet:

Match host hostname exec "return-0-if-outside-company"
Match host hostname

With libssh 0.9.0 (Arch Linux repository, used inside sshping), this configuration throws:

ssh_config_parse_line:  line 1: Unsupported Match keyword 'exec', ignoring

and, indeed, the corresponding entry is ignored.

Might be related to T152; at least, no multi-criteria Match at all seem to be tested in 4fc37bb6fed9.

Event Timeline

akobel created this task.Mon, Aug 12, 10:52 PM
akobel triaged this task as Wishlist priority.