OpenSSH Match directive

Damien Miller djm at mindrot.org
Fri Apr 11 22:38:50 EST 2014


On Fri, 11 Apr 2014, Loganaden Velvindron wrote:

> In the latest release of OpenSSH,
> 
> when you use only "Match" in sshd_config, all by itself, it causes sshd to stop.
> 
>  /usr/local/sbin/sshd -d
> One or more attributes required for Match
> /usr/local/etc/sshd_config line 134: Bad Match condition
> 
> This wasn't the case in the older releases, and some Mauritian users
> are complaining as they preferred the old behaviour, which gave a
> warning.

"Match" without conditions was never meant to work - what does it mean?
Should it match everything or nothing?

"Match all" is supported and the right way to do it.

-d


More information about the openssh-unix-dev mailing list