RFE: EndMatch

Darren Tucker dtucker at zip.com.au
Fri Sep 14 11:32:59 EST 2012


On Fri, Sep 14, 2012 at 10:07:24AM +1000, Darren Tucker wrote:
> On Fri, Sep 14, 2012 at 09:46:16AM +1000, Darren Tucker wrote:
> > On Thu, Sep 13, 2012 at 04:56:19PM +0200, Biltong wrote:
> > > Currently a Match block can only be ended by another Match block or an
> > > end of file.
> > > 
> > > I'd like to suggest adding the keyword "EndMatch" to mark the end of a
> > > Match block.
> > 
> > Rather than adding a new keyword, it would probably be doable by
> > extending Match to understand "Match all", which should have the
> > semantics you want.  You could end up with some configs that were pretty
> > hard to understand, though.
> 
> Something like this (warning: untested).

Actually, on second thought "Match User *" will have the same semantics
as my proposed "Match all".

-- 
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.


More information about the openssh-unix-dev mailing list