Re: Pattern specification trouble
- From: Edmond Baroud <ebaroud@xxxxxxxxx>
- Date: Tue, 10 Jun 2008 11:38:19 -0700 (PDT)
Not in ssh_config or sshd_config or ~/.ssh/config. You would put it in the /home/user/.ssh/authorized_keys file right before your key.
Not: Host from="host.com"
Your authorized_keys file with 1 key would look like:
from="my.host.com,my.2ndhost.com" Your_Key_Here(keys are longer than this example of course.).
----- Original Message ----
From: László Monda <laci@xxxxxxxx>
Sent: Tuesday, June 10, 2008 9:26:50 AM
Subject: Pattern specification trouble
`man ssh' says:
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:
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
I've tried to use the following directives with no success:
How should I use the damn thing?
Thanks in advance.
Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php