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.dev/gentoo
parent
f914df7866
commit
b43e8319f4
|
@ -0,0 +1,2 @@
|
|||
[Service]
|
||||
ExecStartPre=
|
Loading…
Reference in New Issue