Mailing List Archive

[Bug 2468] Option to include external files to sshd_config
https://bugzilla.mindrot.org/show_bug.cgi?id=2468

Ignaz Forster <prefix_mindrot@digitalimagecorp.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |prefix_mindrot@digitalimage
| |corp.de

--- Comment #16 from Ignaz Forster <prefix_mindrot@digitalimagecorp.de> ---
We are also very interested in such an option for openSUSE Kubic, for
similar reasons as Fedora CoreOS.
Moreover, during a discussion at this year's "All Systems Go!" it got
clear that there is a broad interest in splitting package and admin
configuration into different files, both from distribution maintainers
and administrators. The proposed patch would make that possible.

--
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 2468] Option to include external files to sshd_config [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=2468

--- Comment #17 from Ricardo <bugzilla.mindrot@rbartels.de> ---
Created attachment 3333
--> https://bugzilla.mindrot.org/attachment.cgi?id=3333&action=edit
sample sshd_config update command to implement behaviour on GNU Linux
with systemd

--
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 2468] Option to include external files to sshd_config [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=2468

--- Comment #18 from Ricardo <bugzilla.mindrot@rbartels.de> ---
Added script implement desired behaviour on GNU LINUX using systemd.

systemd unit drop in:

sudo mkdir -m 755 -p "/etc/systemd/system/sshd.service.d/"
cat <<EOF >
/etc/systemd/system/sshd.service.d/50-compile-sshd-config.conf
[Service]
ExecStartPre=-/usr/local/bin/sshd_config_update
EOF
chmod 644
/etc/systemd/system/sshd.service.d/50-compile-sshd-config.conf
systemctl daemon-reload


Hope this workaround helps someone.

--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs