diff options
| author | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-02-07 08:48:42 -0800 |
|---|---|---|
| committer | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-02-07 08:48:42 -0800 |
| commit | 42105dd9f70699043dc1c8f9e1597dc0044ff703 (patch) | |
| tree | 8872ac885fe188b9fa6861d25123f46cf383710a /nix/users/fcuny/ssh.nix | |
| parent | add ssh key for github.rbx.com (diff) | |
| download | infra-42105dd9f70699043dc1c8f9e1597dc0044ff703.tar.gz | |
store all ssh sockets under the same path
Diffstat (limited to '')
| -rw-r--r-- | nix/users/fcuny/ssh.nix | 12 |
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"; - }; - }; }; }; } |
