nixos/ssh: silence ssh-keygen during configuration validation

This commit is contained in:
Aaron Andersen 2020-03-14 19:37:30 -04:00
parent 41742c85ec
commit f5951f520c

View File

@ -17,7 +17,7 @@ let
${cfg.extraConfig} ${cfg.extraConfig}
EOL EOL
ssh-keygen -f mock-hostkey -N "" ssh-keygen -q -f mock-hostkey -N ""
sshd -t -f $out -h mock-hostkey sshd -t -f $out -h mock-hostkey
''; '';