Bug 2351 - sshd: conf.d directory for configuration snippets (similar to nginx or apache)
Summary: sshd: conf.d directory for configuration snippets (similar to nginx or apache)
Status: CLOSED DUPLICATE of bug 2468
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 6.7p1
Hardware: All All
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-18 23:28 AEDT by Laban Mwangi
Modified: 2021-04-23 15:08 AEST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laban Mwangi 2015-02-18 23:28:15 AEDT
Dear Maintainer,
 It would be nice if sshd had a config directory in the same vein as /etc/nginx/conf.d/ on Debian. This would allow third party packages to add config directives without mangling sshd_config.

As an example, I would like to add support for sftp-internal iff a specific package is installed (For sftp only access to a chrooted path). If there was a conf.d directory, the installer package could
have dropped the relevant config block and SIGHUP'd sshd. With the current setup, I'll probably be forced to replace the existing /etc/ssh/sshd_config with an appropriate one.

Please note that I had filed this against Debian (Bug#778675) and there was a suggestion that this should be fixed upstream (to spread the benefit :)

Cheers,
Laban
Comment 1 online 2018-02-26 21:55:45 AEDT
This is a duplicate of 2468 which has more discussion and a proposed patch.

*** This bug has been marked as a duplicate of bug 2468 ***
Comment 2 Damien Miller 2021-04-23 15:08:17 AEST
closing resolved bugs as of 8.6p1 release