diff options
Diffstat (limited to '')
| -rw-r--r-- | nix/users/fcuny/ssh.nix | 12 |
1 files changed, 9 insertions, 3 deletions
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"; } |
