server: Match has no effect in include file (upstream 3122)
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| portable OpenSSH |
Unknown
|
Unknown
|
|||
| openssh (Ubuntu) |
Fix Released
|
Low
|
Christian Ehrhardt | ||
Bug Description
Hello
Ubuntu version: focal 20.04 LTS
Version:
openssh-server:
Installed: 1:8.2p1-4ubuntu0.1
Candidate: 1:8.2p1-4ubuntu0.1
Expected: match statement in included files work as documented in the fine manual
What happens: the statements are ignored.
If you add Match statements in an included file, it will generate no error but have no effect.
The exact same statements work in the main server config file (/etc/ssh/
this is to track upstream bug 3122:
https:/
it's fixed but will only be in 8.4 so it affects Ubuntu 20.04 LTS where openssh is at 8.2.
I'm not *absolutely* whining for a backport since include files is a new feature for openssl in focal so it's not a regression. Would be nice though :), because include files are standard for any server software in Linux since at least a decade...

We just fixed bug 1876320 for includes, seems there might be more for it to do.
But at the same time I think this is low-prio e.g. I think we can wait until ssh 8.4 hits groovy and then think about a backport instead of adding Delta for it right away.
Thank you for the bug Patel.