- Package:
- openssh-server
- Source:
- openssh
- Description:
- secure shell (SSH) server, for secure access from remote machines
- Submitter:
- Gioele Barabucci
- Date:
- 2022-07-02 16:00:04 UTC
- Severity:
- normal
Dear openssh maintainers, could you please move the `Include /etc/ssh/sshd_config.d/*.conf` line to the end of `/etc/sshd_config`? Having that line at the beginning of the file makes it impossible to override in `.d` files the default settings set after it, for example `PasswordAuthentication` or `AcceptEnv`. Regards,
man:sshd_config(8) says "For each keyword, the first obtained value will be used." So having the `Include` at the beginning seems correct to allow overriding the contents of /etc/ssh/sshd_config. Ansgar
Thanks for the explanation. I was assuming a more "imperative" semantics where the last value wins. Sorry for the noise. Kind regards,