[Touch-packages] [Bug 1968305] Re: sshd_config.d overrides not working

2022-04-12 Thread Lucas Kanashiro
@jamesps this applies to Ubuntu Focal 20.04 as described in the manpage. This seems to me a local configuration issue and not a bug in the package. Due to that I am marking this bug as Invalid. ** Changed in: openssh (Ubuntu) Status: New => Invalid -- You received this bug notification be

[Touch-packages] [Bug 1968305] Re: sshd_config.d overrides not working

2022-04-11 Thread James Paton-Smith
According to man pages, this is set by default (at least on debian-based systems) so I tried both with and without specifying 'Include /etc/ssh/sshd_config.d/*.conf' in the main sshd_config file. But neither seem to work. I've attached the sshd_config file used when testing previously. I specifie

[Touch-packages] [Bug 1968305] Re: sshd_config.d overrides not working

2022-04-11 Thread James Paton-Smith
I've since tested by placing the Include option at the top of the config, and it works. I had assumed positioning was irrelevant, or that it should check /etc/ssh/sshd_config.d by default as described in the man pages: ``` Note that the Debian openssh-server package sets several options as standa

[Touch-packages] [Bug 1968305] Re: sshd_config.d overrides not working

2022-04-10 Thread Haw Loeung
> From debugging sshd, I can see the override file is indeed being read, and the option is supposedly set. But after testing, the options are not taking effect. >From debugging, do you see /etc/ssh/sshd_config being read first? For OpenSSH, at least with the client side, the first defined value i

[Touch-packages] [Bug 1968305] Re: sshd_config.d overrides not working

2022-04-08 Thread Seth Arnold
This reminds me of several previous bugs; this may or may not be a duplicate, and this may or may not be intentional behaviour. Hopefully these are are useful and save some debugging effort: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1922212 https://bugs.launchpad.net/ubuntu/+source/op

[Touch-packages] [Bug 1968305] Re: sshd_config.d overrides not working

2022-04-08 Thread James Paton-Smith
** Attachment added: "sshd debug output" https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1968305/+attachment/5578186/+files/sshd_debug -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.

[Touch-packages] [Bug 1968305] Re: sshd_config.d overrides not working

2022-04-08 Thread James Paton-Smith
** Attachment added: "Contents of override file" https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1968305/+attachment/5578185/+files/sshd_config_override -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubu