version 1.257, 2017/10/05 12:56:50 |
version 1.258, 2017/10/18 02:49:44 |
|
|
the following entry (in authorized_keys) could be used: |
the following entry (in authorized_keys) could be used: |
.Pp |
.Pp |
.Dl from=\&"!*.dialup.example.com,*.example.com\&" |
.Dl from=\&"!*.dialup.example.com,*.example.com\&" |
|
.Pp |
|
Note that a negated match will never produce a positive result by itself. |
|
For example, attempting to match |
|
.Qq host3 |
|
against the following pattern-list will fail: |
|
.Pp |
|
.Dl from=\&"!host1,!host2\&" |
|
.Pp |
|
The solution here is to include a term that will yield a positive match, |
|
such as a wildcard: |
|
.Pp |
|
.Dl from=\&"!host1,!host2,*\&" |
|
.Pp |
.Sh TOKENS |
.Sh TOKENS |
Arguments to some keywords can make use of tokens, |
Arguments to some keywords can make use of tokens, |
which are expanded at runtime: |
which are expanded at runtime: |