diff options
| author | Petri Hienonen <petri.hienonen@gmail.com> | 2026-03-01 06:12:53 +0200 |
|---|---|---|
| committer | Petri Hienonen <petri.hienonen@gmail.com> | 2026-03-01 06:12:53 +0200 |
| commit | 8fe618c916cafa3b164667bfc618a463490a9cbc (patch) | |
| tree | 95588783b9c92164be620e8587b16fcf61b70b17 /roles | |
| parent | 59c3a89607d302b3c14cb20e26db9ba98e867bc7 (diff) | |
| download | nixos-8fe618c916cafa3b164667bfc618a463490a9cbc.tar.zst | |
Update openssh config
Diffstat (limited to 'roles')
| -rw-r--r-- | roles/shared.nix | 7 |
1 files changed, 3 insertions, 4 deletions
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 |
