From c4fd35577df9a298f8a88f6f02ada748ce44ff3d Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 21 Jan 2025 10:02:57 -0500 Subject: [PATCH] global/ssh: attempt to keep ssh alive --- modules/global/ssh.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/global/ssh.nix b/modules/global/ssh.nix index cce7ce9..1ccc440 100644 --- a/modules/global/ssh.nix +++ b/modules/global/ssh.nix @@ -9,6 +9,8 @@ with lib; settings = { X11Forwarding = mkDefault false; GatewayPorts = mkDefault "yes"; + ClientAliveInterval = 60; + TCPKeepAlive = "yes"; }; hostKeys = mkDefault [{ path = "/etc/ssh/ssh_host_ed25519_key";