From 8bdb9b8573c2f3d23859c1261e7b8c464c449061 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sat, 30 Jan 2021 21:38:59 +0100 Subject: [PATCH] ControlMaster --- modules/ssh.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ssh.nix b/modules/ssh.nix index a8ce57ef..dc203e52 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -16,6 +16,8 @@ let programs.ssh = { enable = true; compression = true; + controlMaster = "yes"; + controlPersist = "10m"; hashKnownHosts = true; userKnownHostsFile = "${config.chvp.cachePrefix}${home}/.ssh/known_hosts"; serverAliveInterval = 300;