Debian Bug report logs - #961007
Some directives are ignored under sshd_config.d

version graph

Package: openssh-server; Maintainer for openssh-server is Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>; Source for openssh-server is src:openssh (PTS, buildd, popcon).

Reported by: Alkis Georgopoulos <alkisg@gmail.com>

Date: Tue, 19 May 2020 08:42:02 UTC

Severity: normal

Found in version openssh/1:8.2p1-4

Done: Alkis Georgopoulos <alkisg@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>:
Bug#961007; Package openssh-server. (Tue, 19 May 2020 08:42:04 GMT) (full text, mbox, link).


Acknowledgement sent to Alkis Georgopoulos <alkisg@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>. (Tue, 19 May 2020 08:42:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Alkis Georgopoulos <alkisg@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Some directives are ignored under sshd_config.d
Date: Tue, 19 May 2020 11:39:18 +0300
Package: openssh-server
Version: 1:8.2p1-4
Severity: normal

Hi, the following configuration is ignored if I put it in
/etc/ssh/sshd_config.d/local.conf
...yet it works fine if I put it at the end of the file
/etc/ssh/sshd_config:

Match Group *,!sudo,!root
    ChrootDirectory /home
    ForceCommand internal-sftp
Match all

I.e. for some reason, some directives in sshd_config.d are ineffective.

To reproduce, use the example above, and just run:
ssh administrator@localhost

It's supposed to reply with:
"""
administrator@localhost's password:
This service allows sftp connections only.
Connection to localhost closed.
"""

Yet it only works at the end of /etc/ssh/sshd_config.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>:
Bug#961007; Package openssh-server. (Wed, 20 May 2020 19:00:02 GMT) (full text, mbox, link).


Acknowledgement sent to Alkis Georgopoulos <alkisg@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>. (Wed, 20 May 2020 19:00:02 GMT) (full text, mbox, link).


Message #10 received at 961007@bugs.debian.org (full text, mbox, reply):

From: Alkis Georgopoulos <alkisg@gmail.com>
To: 961007@bugs.debian.org
Subject: Re: Bug#961007: Re: Some directives are ignored under sshd_config.d
Date: Wed, 20 May 2020 21:57:37 +0300
I believe it's this upstream bug:
https://bugzilla.mindrot.org/show_bug.cgi?id=3122

"New Include functionality does not work as documented"



Reply sent to Alkis Georgopoulos <alkisg@gmail.com>:
You have taken responsibility. (Sun, 04 Dec 2022 09:00:03 GMT) (full text, mbox, link).


Notification sent to Alkis Georgopoulos <alkisg@gmail.com>:
Bug acknowledged by developer. (Sun, 04 Dec 2022 09:00:03 GMT) (full text, mbox, link).


Message #15 received at 961007-done@bugs.debian.org (full text, mbox, reply):

From: Alkis Georgopoulos <alkisg@gmail.com>
To: 961007-done@bugs.debian.org
Subject: Re: Bug#961007: Re: Some directives are ignored under sshd_config.d
Date: Sun, 4 Dec 2022 10:57:47 +0200
As upstream states, it now works with openssh-server >=8.4.
Closing!



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 02 Jan 2023 07:25:06 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Aug 8 03:50:48 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.