aimee-os/overlay/usr/lib/systemd/sshd.service.d
Dustin b43e8319f4 systemd: sshd: Disable ssh-keygen
The default _sshd.service_ unit runs `ssh-keygen -A` in `ExecStartPre`,
to ensure host keys exist before starting the SSH daemon.
Unfortunately, this tool does _not_ respect the `HostKey` settings in
`sshd_config`, and unconditionally tries to create the key files in
`/etc/ssh`.  Since this directory is not writable, the command fails,
preventing the SSH daemon from starting.
2025-01-02 12:57:31 -06:00
..
no-keygen.conf systemd: sshd: Disable ssh-keygen 2025-01-02 12:57:31 -06:00