On Sat, 2 Jul 2022 17:10:32 +0200 Gioele Barabucci wrote:
> 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`.

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

Reply via email to