Skip to content

Commit 52faacc

Browse files
committed
update ssh defaults
1 parent e043b9b commit 52faacc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/home-manager/ssh.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
};
1313
"*" = {
1414
forwardAgent = true;
15+
compression = false;
16+
serverAliveInterval = 30;
17+
serverAliveCountMax = 3;
18+
hashKnownHosts = false;
19+
userKnownHostsFile = "~/.ssh/known_hosts";
20+
controlMaster = "auto";
21+
controlPath = "~/.ssh/master-%r@%n:%p";
22+
controlPersist = "10m";
1523
};
1624
};
1725
};

0 commit comments

Comments
 (0)