Bug 3391 - improve documentation on Match criterias
Summary: improve documentation on Match criterias
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 8.8p1
Hardware: Other All
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-17 12:22 AEDT by Christoph Anton Mitterer
Modified: 2022-02-17 12:51 AEDT (History)
0 users

See Also:


Attachments
0001-Improved-documentation-on-Match-criterias.patch (1.23 KB, patch)
2022-02-17 12:22 AEDT, Christoph Anton Mitterer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Anton Mitterer 2022-02-17 12:22:55 AEDT
Created attachment 3572 [details]
0001-Improved-documentation-on-Match-criterias.patch

1) In sshd_config you write the criteria names with a starting capital letter, in ssh_config all lower case... not sure which one you actually prefer, but perhaps that should be aligned.


2) From https://lists.mindrot.org/pipermail/openssh-unix-dev/2015-February/033526.html I'd assume that the criteria negation also works in sshd_config? It's however only documented in ssh_config.

Attached patch applies on current git master (e.g. using git am).



Thanks,
Chris.
Comment 1 Christoph Anton Mitterer 2022-02-17 12:51:17 AEDT
Actually... I've just seen that the !critera syntax doesn't seem to work at all in 8.8?