Skip to content

Commit edc9673

Browse files
committed
Document the new match criteria and negation support
1 parent 79f95ef commit edc9673

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/api.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1647,7 +1647,9 @@ The following OpenSSH client config options are currently supported:
16471647
For the "Match" conditional, the following criteria are currently supported:
16481648

16491649
| All
1650+
| Canonical
16501651
| Exec
1652+
| Final
16511653
| Host
16521654
| LocalUser
16531655
| OriginalHost
@@ -1662,6 +1664,10 @@ For the "Match" conditional, the following criteria are currently supported:
16621664
when options objects are created by AsyncSSH APIs such as
16631665
:func:`connect` and :func:`listen`.
16641666

1667+
Match criteria can be negated by prefixing the criteria name with '!'.
1668+
This will negate the criteria and causing the match block to be evaluated
1669+
only if the negated criteria all fail to match.
1670+
16651671
The following client config token expansions are currently supported:
16661672

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

17361742
| All
1743+
| Canonical
17371744
| Exec
1745+
| Final
17381746
| Address
17391747
| Host
17401748
| LocalAddress
@@ -1750,6 +1758,9 @@ For the "Match" conditional, the following criteria are currently supported:
17501758
when options objects are created by AsyncSSH APIs such as
17511759
:func:`connect` and :func:`listen`.
17521760

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

17551766
.. table::

0 commit comments

Comments
 (0)