Problem, possibly bug with AllowUsers & DenyUsers

Peter Stuge stuge-openssh-unix-dev at cdy.org
Fri May 9 16:08:42 EST 2008


On Fri, May 09, 2008 at 12:25:04AM -0500, Andy Tsouladze wrote:
> > You could also try using Match.
> 
> Great idea!  It does seem to accomplish what I need, but I have to
> use multiple Match lines, like this:
> 
> PermitRootLogin no
> Match Address 192.168.89.*
> PermitRootLogin yes
> Match Address 192.168.88.*
> PermitRootLogin yes

I'm sure everyone would appreciate a /size patch for addresses,
though I suspect the code does simple string/pattern matching so
it isn't that easy to specialcase address strings.

Don't know about the negations, sorry. :\


//Peter


More information about the openssh-unix-dev mailing list