Re: help with negative patterns in Match

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Tue, 2015-02-24 at 10:15 +1100, Damien Miller wrote: 
> otherwise you need to have at least one matching term in the predicate, e.g.
> Match User foo LocalAddress *,!10.0.0.1,!fe80:abba::0
Ah,.. great :) Thanks a lot, that did the trick.


> > Also, it seems that hostnames can generally not be used with
> > LocalAddress,.. is this expected? Cause that would be kinda nice.
Well the nice part about that would be that one can use a hostname,
which is e.g. set in /etc/hosts something like:
1.2.3.4  eth0.localhost
and use that in the ListenAddress and e.g. Match patterns.

Now when the host moves to another address, all one has to do is
exchange one entry in /etc/hosts, instead of many in other places =)


Cheers,
Chris. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux