diff options
Diffstat (limited to 'roles/shared.nix')
| -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 |
