From 5f74f4da2abb98b881ba85cadd45558178c5d1c3 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sat, 24 Feb 2024 08:23:39 +0300 Subject: [PATCH] Use SSH control master --- modules/ssh.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ssh.nix b/modules/ssh.nix index 568fdbe..ccf9aee 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -6,6 +6,11 @@ (desktopHomeConfiguration { programs.ssh = enabled { + controlMaster = "auto"; + controlPersist = "60m"; + serverAliveCountMax = 2; + serverAliveInterval = 60; + matchBlocks."*".setEnv = { COLORTERM = "truecolor"; TERM = "xterm-256color";