From 8fe618c916cafa3b164667bfc618a463490a9cbc Mon Sep 17 00:00:00 2001 From: Petri Hienonen Date: Sun, 1 Mar 2026 06:12:53 +0200 Subject: Update openssh config --- roles/shared.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'roles') diff --git a/roles/shared.nix b/roles/shared.nix index 7d357a4..602cace 100644 --- a/roles/shared.nix +++ b/roles/shared.nix @@ -718,7 +718,6 @@ enable = true; openFirewall = true; settings = { - UseDns = true; AllowUsers = [ "petri" ]; KexAlgorithms = [ "curve25519-sha256@libssh.org" @@ -747,9 +746,9 @@ PasswordAuthentication = false; }; extraConfig = '' - AllowAgentForwarding no - AllowTcpForwarding no - ClientAliveCountMax 0 + AllowAgentForwarding yes + AllowTcpForwarding yes + ClientAliveCountMax 3 ClientAliveInterval 300 LoginGraceTime 60 MaxAuthTries 1 -- cgit v1.3-1-g0d28