Include /etc/ssh/%L/sshd_config is bogus

$ pacman -Q openssh
openssh 9.8p1-1
$ grep ^Include /etc/ssh/sshd_config
Include /etc/ssh/sshd_config.d/*.conf
Include /etc/ssh/%L/sshd_config

The path /etc/ssh/%L/sshd_config is a bogus include. The "%L" suggests the intent is to include host specific configuration, but openssh has never supported the %L percent expansion in the Include directive. The included file has the literal name /etc/ssh/%L/sshd_config.

This misleading line should be removed from the default configuration until openssh decides to support this functionality. As it happens I had already submitted a patch to add this feature upstream: https://lists.mindrot.org/pipermail/openssh-unix-dev/2023-November/041070.html

I have just now resubmitted the patch to resolve any conflicts: https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041437.html

If you want this feature (which is presumably the intent of the wishful config), please express your interest in latest patch on the mailing list upstream.