[Bug 2468] Option to include external files to sshd_config

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Mar 30 04:01:47 AEDT 2019


https://bugzilla.mindrot.org/show_bug.cgi?id=2468

Thomas Leavitt <thomas at thomasleavitt.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thomas at thomasleavitt.org

--- Comment #14 from Thomas Leavitt <thomas at thomasleavitt.org> ---
Sample use case:

I'm setting up nearly separate user accounts on a server as sftp only
in separate chroots (each requiring a separate entry in sshd_config),
and programmatically sourcing the user list from a database. Right now,
every time that list is updated, I'm going to have to append the
relevant per user entries (93 at the moment) separate copy of the main
part of sshd_config, then overwrite /etc/ssh/sshd_config and restart
sshd. If I want to update sshd_config without doing this, I'm going to
have the make the edits in two places. Messy and error prone process,
obviously. 

Would be much cleaner to simply add and delete entries from an included
file or directory.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list