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;