From f5951f520c6b832be55917d8a69b9126c7e28f5b Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sat, 14 Mar 2020 19:37:30 -0400 Subject: [PATCH] nixos/ssh: silence ssh-keygen during configuration validation --- nixos/modules/services/networking/ssh/sshd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix index 2069ec178aa6..f5b7741a5cf5 100644 --- a/nixos/modules/services/networking/ssh/sshd.nix +++ b/nixos/modules/services/networking/ssh/sshd.nix @@ -17,7 +17,7 @@ let ${cfg.extraConfig} EOL - ssh-keygen -f mock-hostkey -N "" + ssh-keygen -q -f mock-hostkey -N "" sshd -t -f $out -h mock-hostkey '';