From 40352175588e52463592ea08cd3ba1adff873f44 Mon Sep 17 00:00:00 2001 From: Franck Cuny <59291+fcuny@users.noreply.github.com> Date: Fri, 31 Jan 2025 13:41:53 -0800 Subject: fix configuration for SAPI --- nix/users/fcuny/ssh.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'nix/users/fcuny/ssh.nix') diff --git a/nix/users/fcuny/ssh.nix b/nix/users/fcuny/ssh.nix index ca0baca..f8c1468 100644 --- a/nix/users/fcuny/ssh.nix +++ b/nix/users/fcuny/ssh.nix @@ -25,9 +25,15 @@ preferredAuthentications = "publickey"; }; }; + "chi1-jumpcontainer-es" = { + hostname = "127.0.0.1"; + port = 44641; + extraOptions = { + NoHostAuthenticationForLocalhost = "yes"; + ControlPath = "~/.ssh/sapi_controlmasters/%r@%h:%p"; + ControlPersist = "10m"; + }; + }; }; }; - - # if the configuration for SAPI exists, let's include it. - programs.ssh.includes = lib.optional (builtins.pathExists "/Users/fcuny/.ssh/config/config_sapi") "~/.ssh/config/config_sapi"; } -- cgit v1.2.3