diff --git a/home/private/ssh-hosts.nix b/home/private/ssh-hosts.nix index 3b6fa13..05cce00 100644 --- a/home/private/ssh-hosts.nix +++ b/home/private/ssh-hosts.nix @@ -8,6 +8,23 @@ tb2 = "~/.ssh/id_rsa.tb2.pub"; in { + # Defaults + "*" = { + # Configure sharing of multiple sessions over a single network connection. + controlMaster = "auto"; + # Specify path to the control socket used for connection sharing. + #controlPath = "~/.ssh/socket-%C"; + # Whether control socket should remain open in the background. + controlPersist = "10m"; + + # Set default timeout in seconds after which response will be requested. + serverAliveInterval = 15; + + # Whether the connection to the authentication agent (if any) will be forwarded to + # the remote machine. + forwardAgent = false; + }; + # HomeLab Machines "fs1" = { hostname = "fs1.t1.xyz";