Bugzilla – Attachment 2460 Details for
Bug 2262
Clarification for the usage of Match directives with negations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed clarification for the usage of negations with Match
ssh_config.5_negations.diff (text/plain), 726 bytes, created by
Sven
on 2014-08-15 23:10:51 AEST
(
hide
)
Description:
proposed clarification for the usage of negations with Match
Filename:
MIME Type:
Creator:
Sven
Created:
2014-08-15 23:10:51 AEST
Size:
726 bytes
patch
obsolete
>--- ssh_config.5.orig Tue Jul 29 15:18:33 2014 >+++ ssh_config.5 Tue Jul 29 17:59:21 2014 >@@ -1469,6 +1469,25 @@ > the following entry (in authorized_keys) could be used: > .Pp > .Dl from=\&"!*.dialup.example.com,*.example.com\&" >+.Pp >+If you use negations please keep in mind that you've to >+make sure that the set you operate on is not empty. >+Otherwise the intended match will be applied to an empty >+set which will never match. >+.Pp >+For example >+.Pp >+.Dl Match Group *,!mygroup, User *,!root >+.Pp >+will match everyone except the members of >+.Dq mygroup >+and the >+.Dq root >+user, while omitting the >+.Sq * >+wildcard >+.Pq Match Group !mygroup, User !root >+will never match. > .Sh FILES > .Bl -tag -width Ds > .It Pa ~/.ssh/config
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2262
: 2460