| 7 Mar 2024 |
Philip Taron (UTC-8) | In reply to @jade_:matrix.org subsystem seems like the absolute cleanest way of doing this tbqh, but putting PATH stuff in a drop in for sshd_config somewhere would also work Do you see a way of doing a drop-in style config? sshd_config isn't making me see any. I agree after reading the docs on subsystem that a nix subsystem would be 🔥 | 22:12:49 |
@jade_:matrix.org | at least archlinux has /etc/ssh/sshd_config.d | 22:14:48 |
Philip Taron (UTC-8) | In reply to @jade_:matrix.org subsystem seems like the absolute cleanest way of doing this tbqh, but putting PATH stuff in a drop in for sshd_config somewhere would also work * Do you see a way of doing a drop-in style config? sshd_config isn't making me see any. I agree after reading the docs on subsystem that a nix or nix-daemon subsystem would be 🔥 | 22:14:50 |
@jade_:matrix.org | but i am guessing it is a distro thing maybe? | 22:15:04 |
Philip Taron (UTC-8) | That would be super lame. | 22:15:14 |
Philip Taron (UTC-8) | Of course it is: https://manpages.debian.org/unstable/openssh-server/sshd_config.5.en.html
Note that the Debian openssh-server package sets several options as standard in /etc/ssh/sshd_config which are not the default in sshd(8):
Include /etc/ssh/sshd_config.d/*.conf
| 22:23:46 |
@jade_:matrix.org | fixing bad distro decisions in the installer seems a bit questionable, because of peoples jank configuration management systems or suchlike | 22:36:32 |