ssh_config.d ignored error on include
Configuration in “/etc/ssh/ssh_config.d”
Is ignored.
sshd fails to start if this folder is included in “ssh_config”
“Include /etc/ssh/ssh_config.d/*.conf”
Because of an error in the config file “05-redhat.conf”
“
sshd[4914]: debug2: parse_server_config_depth: config /etc/ssh/ssh_config.d/05-redhat.conf len 332
sshd[4914]: debug3: checking syntax for 'Match final all'
sshd[4914]: Unsupported Match attribute final
sshd[4914]: /etc/ssh/ssh_config.d/05-redhat.conf line 3: Bad Match condition
systemd[1]: sshd.service: Main process exited, code=exited, status=255/n/a
systemd[1]: sshd.service: Failed with result 'exit-code'.
“
Is this a known issue?
Am I not supposed to include this directory?
A quick search did not yield much information.
sshd_config 5
does not mention this folder at all
Other sources list this folder as the default include dir
for this service.
A dnf provides lists this file as part of
“openssh-clients”
I would like to use this folder as the drop in config folder.
As a workaround the 05-redhat file can be moved
since SSHD does not seem to care about it anyway.