[Bug 1968305] Re: sshd_config.d overrides not working
Seth Arnold
1968305 at bugs.launchpad.net
Fri Apr 8 22:26:00 UTC 2022
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/openssh/+bug/1876320
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1873528
Especially 1873528 feels like most likely to be relevant, I suggesting
reading that one first.
Thanks
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1968305
Title:
sshd_config.d overrides not working
Status in openssh package in Ubuntu:
New
Bug description:
Creating an sshd_config override file under /etc/ssh/sshd_config.d/
does not override settings from /etc/ssh/sshd_config
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.
Specifically, in the main sshd_config, I have disabled PasswordAuthentication
In my override file, PasswordAuthentication is enabled
Yet, when connecting to the server, it only checks public/private
keys.
This is for an environment where we have our default sshd_config, and in specific use-cases, we might enable PasswordAuthentication for some servers.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: openssh-server 1:8.2p1-4ubuntu0.4
ProcVersionSignature: Ubuntu 5.13.0-39.44~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-39-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri Apr 8 10:37:42 2022
InstallationDate: Installed on 2021-11-04 (154 days ago)
InstallationMedia: Ubuntu-Server 20.04.3 LTS "Focal Fossa" - Release amd64 (20210824)
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1968305/+subscriptions
More information about the foundations-bugs
mailing list