László Monda wrote:
Hi List,
`man ssh' says:
----8<----
A pattern-list is a comma-separated list of patterns. Patterns within
pattern-lists may be negated by preceding them with an exclamation mark
(‘!’). For example, to allow a key to be used from anywhere within an
organisation except from the “dialup” pool, the following entry (in
authorized_keys) could be used:
from="!*.dialup.example.com,*.example.com"
----8<----
It is confusing to me because it specifies pattern syntax in the context
of authorized_keys. I want to use patterns with the Host directive in
~/.ssh/config
I've tried to use the following directives with no success:
Host "wondeer.com,*.wondeer.com"
Host wondeer.com,*.wondeer.com
Host from="wondeer.com,*.wondeer.com"
How should I use the damn thing?
Separate them with spaces:
Host wondeer.com *.wondeer.com
The man page should be clearer.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.