64187a1b15
* Remove SSH host keys after installing the custom version of sshd Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com> * Use an override for for sshd instead of overwriting the service file Don't overwrite upstream's .service file, and instead use an override file for making sure the host key(s) are generated. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
5 lines
102 B
Plaintext
5 lines
102 B
Plaintext
[Service]
|
|
ExecStartPre=
|
|
ExecStartPre=/usr/local/bin/host-ssh-keygen.sh
|
|
ExecStartPre=/usr/sbin/sshd -t
|