Skip to content

Commit

Permalink
Document the new match criteria and negation support
Browse files Browse the repository at this point in the history
  • Loading branch information
ronf committed Nov 26, 2024
1 parent 79f95ef commit edc9673
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1647,7 +1647,9 @@ The following OpenSSH client config options are currently supported:
For the "Match" conditional, the following criteria are currently supported:

| All
| Canonical
| Exec
| Final
| Host
| LocalUser
| OriginalHost
Expand All @@ -1662,6 +1664,10 @@ For the "Match" conditional, the following criteria are currently supported:
when options objects are created by AsyncSSH APIs such as
:func:`connect` and :func:`listen`.

Match criteria can be negated by prefixing the criteria name with '!'.
This will negate the criteria and causing the match block to be evaluated
only if the negated criteria all fail to match.

The following client config token expansions are currently supported:

.. table::
Expand Down Expand Up @@ -1734,7 +1740,9 @@ The following OpenSSH server config options are currently supported:
For the "Match" conditional, the following criteria are currently supported:

| All
| Canonical
| Exec
| Final
| Address
| Host
| LocalAddress
Expand All @@ -1750,6 +1758,9 @@ For the "Match" conditional, the following criteria are currently supported:
when options objects are created by AsyncSSH APIs such as
:func:`connect` and :func:`listen`.

Match criteria can be negated by prefixing the criteria name with '!'.
This will negate the criteria and causing the match block to be evaluated
only if the negated criteria all fail to match.
The following server config token expansions are currently supported:

.. table::
Expand Down

0 comments on commit edc9673

Please sign in to comment.