diff options
Diffstat (limited to 'hm/ssh/default.nix')
-rw-r--r-- | hm/ssh/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hm/ssh/default.nix b/hm/ssh/default.nix index 368830f..d123a6a 100644 --- a/hm/ssh/default.nix +++ b/hm/ssh/default.nix @@ -3,6 +3,7 @@ programs.ssh = { enable = true; + enableDefaultConfig = false; matchBlocks = let genBox = user: { inherit user; @@ -10,6 +11,18 @@ }; username = "u384702"; in { + "*" = { + forwardAgent = false; + addKeysToAgent = "no"; + compression = false; + serverAliveInterval = 0; + serverAliveCountMax = 3; + hashKnownHosts = false; + userKnownHostsFile = "~/.ssh/known_hosts"; + controlMaster = "no"; + controlPath = "~/.ssh/master-%r@%n:%p"; + controlPersist = "no"; + }; "storagebox" = genBox username; "storagebox-1" = genBox "${username}-sub1"; }; |