From 2c4d84ec9b3b1128f4bc98e474f3c8c7ba2584b3 Mon Sep 17 00:00:00 2001 From: Myned Date: Wed, 29 Jan 2025 14:10:39 -0600 Subject: [PATCH] ssh: enable host key checking Signed-off-by: Myned --- options/custom/programs/ssh.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/options/custom/programs/ssh.nix b/options/custom/programs/ssh.nix index 248006c..15bcfc9 100644 --- a/options/custom/programs/ssh.nix +++ b/options/custom/programs/ssh.nix @@ -9,12 +9,6 @@ in { options.custom.programs.ssh.enable = mkOption {default = false;}; config = mkIf cfg.enable { - # Disable prompt for new hosts - # MitM warning is still active - programs.ssh.extraConfig = '' - StrictHostKeyChecking no - ''; - home-manager.users.${config.custom.username} = { programs.ssh.enable = true;