Merge pull request #141258 from waldheinz/broken-host-keys

This commit is contained in:
Sandro
2021-10-12 20:42:55 +02:00
committed by GitHub
@@ -439,7 +439,7 @@ in
mkdir -m 0755 -p /etc/ssh
${flip concatMapStrings cfg.hostKeys (k: ''
if ! [ -f "${k.path}" ]; then
if ! [ -s "${k.path}" ]; then
ssh-keygen \
-t "${k.type}" \
${if k ? bits then "-b ${toString k.bits}" else ""} \