aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/users/fcuny/ssh.nix12
1 files changed, 2 insertions, 10 deletions
diff --git a/nix/users/fcuny/ssh.nix b/nix/users/fcuny/ssh.nix
index f8c1468..5e7eb46 100644
--- a/nix/users/fcuny/ssh.nix
+++ b/nix/users/fcuny/ssh.nix
@@ -1,4 +1,4 @@
-{ ... }:
+{ config, ... }:
{
# https://github.com/nix-community/home-manager/blob/master/modules/programs/ssh.nix
programs.ssh = {
@@ -7,6 +7,7 @@
serverAliveInterval = 60;
controlMaster = "auto";
controlPersist = "30m";
+ controlPath = "${config.home.homeDirectory}/.ssh/sockets/S.%r@%h:%p";
matchBlocks = {
"github.com" = {
@@ -25,15 +26,6 @@
preferredAuthentications = "publickey";
};
};
- "chi1-jumpcontainer-es" = {
- hostname = "127.0.0.1";
- port = 44641;
- extraOptions = {
- NoHostAuthenticationForLocalhost = "yes";
- ControlPath = "~/.ssh/sapi_controlmasters/%r@%h:%p";
- ControlPersist = "10m";
- };
- };
};
};
}