Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slightly OT: ssh_config pattern-lists



On Mar 6, 2008, at 3:52 PM, Kyle Sluder wrote:

Host bluebird,bluebird.ourlocation.edu,123.456.798.??

       But when I actually use this it turns out that nothing is matching the line, so it does not work. Does anyone know if I am reading something wrong, or is this a bug I should file?

This is not the format of a line in ssh_config.  man ssh_config(5) for the syntax -- basically, it's "one command per line".

I did read the manual page well before posting. I miss typed "ssh_config man file" in my posting (omitting the "man"), but here is the relevant section from the man file:

PATTERNS
     A pattern consists of zero or more non-whitespace characters, `*' (a wildcard that matches zero or more charac-
     ters), or `?' (a wildcard that matches exactly one character).  For example, to specify a set of declarations
     for any host in the ``.co.uk'' set of domains, the following pattern could be used:

           Host *.co.uk

     The following pattern would match any host in the 192.168.0.[0-9] network range:

           Host 192.168.0.?

     A pattern-list is a comma-separated list of patterns.  Patterns within pattern-lists may be negated by preced-
     ing them with an exclamation mark (`!').  For example, to allow a key to be used from anywhere within an organ-
     isation except from the ``dialup'' pool, the following entry (in authorized_keys) could be used:

           from="!*.dialup.example.com,*.example.com"

Since this is in the "man ssh_config" manual page (which is not shared with any other ssh_* items), I think that there is very definitely something wrong here. Either the binary is missing something, or the manual page is wrong. My guess is that the manual is wrong, but I was hoping the someone could confirm that for me.


--
Karl Kuehn



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >slightly OT: ssh_config pattern-lists (From: Karl Kuehn <email@hidden>)
 >Re: slightly OT: ssh_config pattern-lists (From: "Kyle Sluder" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.