From eb50b23465cbf3b1065f44c76ebf21acb681d918 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 5 Jul 2023 14:42:46 +0100 Subject: [PATCH] Slightly increase SSH ControlMaster time, add AddKeysToAgent option --- home/ssh/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home/ssh/default.nix b/home/ssh/default.nix index af334041..4e6c52cc 100644 --- a/home/ssh/default.nix +++ b/home/ssh/default.nix @@ -5,7 +5,10 @@ serverAliveInterval = 15; serverAliveCountMax = 3; controlMaster = "auto"; - controlPersist = "1s"; + controlPersist = "10s"; matchBlocks."git*".user = "git"; + extraConfig = '' + AddKeysToAgent=yes + ''; }; }