help with negative patterns in Match

Christoph Anton Mitterer calestyo at
Tue Feb 24 12:28:25 AEDT 2015

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 *,!,!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:  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 =)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5313 bytes
Desc: not available
URL: <>

More information about the openssh-unix-dev mailing list