Merge pull request #141258 from waldheinz/broken-host-keys
This commit is contained in:
commit
3cf6c7ba7c
1 changed files with 1 additions and 1 deletions
|
@ -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 ""} \
|
||||
|
|
Loading…
Reference in a new issue