diff options
Diffstat (limited to 'accounts/gkleen@sif/ssh-hosts.nix')
| -rw-r--r-- | accounts/gkleen@sif/ssh-hosts.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index a250509b..0b49f385 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix | |||
| @@ -4,6 +4,7 @@ let | |||
| 4 | "ssh.math.lmu.de" = 8118; | 4 | "ssh.math.lmu.de" = 8118; |
| 5 | "mathw0h" = 8122; | 5 | "mathw0h" = 8122; |
| 6 | "mathw0e" = 8124; | 6 | "mathw0e" = 8124; |
| 7 | "cip04" = 8126; | ||
| 7 | }; | 8 | }; |
| 8 | autosshProxy = host: "${lib.getExe pkgs.socat} - SOCKS4A:127.0.0.1:%h:%p,socksport=${toString autosshProxyPorts.${host}}"; | 9 | autosshProxy = host: "${lib.getExe pkgs.socat} - SOCKS4A:127.0.0.1:%h:%p,socksport=${toString autosshProxyPorts.${host}}"; |
| 9 | in { | 10 | in { |
| @@ -342,6 +343,16 @@ in { | |||
| 342 | ServerAliveInterval = "2"; | 343 | ServerAliveInterval = "2"; |
| 343 | }; | 344 | }; |
| 344 | }; | 345 | }; |
| 346 | "proxy.cip04" = | ||
| 347 | { hostname = "cip04.cipmath.loc"; | ||
| 348 | proxyCommand = autosshProxy "mathw0h"; | ||
| 349 | extraOptions = { | ||
| 350 | ControlPath = "none"; | ||
| 351 | ExitOnForwardFailure = "yes"; | ||
| 352 | ServerAliveCountMax = "15"; | ||
| 353 | ServerAliveInterval = "2"; | ||
| 354 | }; | ||
| 355 | }; | ||
| 345 | "vrt-kvm06" = | 356 | "vrt-kvm06" = |
| 346 | { hostname = "vrt-kvm06"; | 357 | { hostname = "vrt-kvm06"; |
| 347 | proxyCommand = autosshProxy "mathw0e"; | 358 | proxyCommand = autosshProxy "mathw0e"; |
