diff options
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 2 | ||||
-rw-r--r-- | accounts/gkleen@sif/ssh-hosts.nix | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 05cfc2c8..86a15c44 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -143,7 +143,7 @@ in { | |||
143 | # ProxyCommand ${pkgs.socat}/bin/socat - SOCKS4A:127.0.0.1:%h:%p,socksport=8118 | 143 | # ProxyCommand ${pkgs.socat}/bin/socat - SOCKS4A:127.0.0.1:%h:%p,socksport=8118 |
144 | ProxyJump ssh.math.lmu.de | 144 | ProxyJump ssh.math.lmu.de |
145 | 145 | ||
146 | Match host *.cipmath.loc !host cip04.cipmath.loc !exec "nc -z -w 1 %h %p &>/dev/null" | 146 | Match host *.cipmath.loc !host cip04.cipmath.loc,mgmt-cls01.cipmath.loc !exec "nc -z -w 1 %h %p &>/dev/null" |
147 | ProxyJump cip04 | 147 | ProxyJump cip04 |
148 | 148 | ||
149 | Match host *.ifi.lmu.de,*.math.lmu.de | 149 | Match host *.ifi.lmu.de,*.math.lmu.de |
diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index f141ca8e..ea714910 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix | |||
@@ -445,6 +445,11 @@ | |||
445 | { hostname = "cip04.cipmath.loc"; | 445 | { hostname = "cip04.cipmath.loc"; |
446 | proxyJump = "mathw0h"; | 446 | proxyJump = "mathw0h"; |
447 | }; | 447 | }; |
448 | "mgmt-cls01" = | ||
449 | { user = "root"; | ||
450 | hostname = "mgmt-cls01.cipmath.loc"; | ||
451 | proxyJump = "ssh.math.lmu.de"; | ||
452 | }; | ||
448 | "mgmt01" = | 453 | "mgmt01" = |
449 | { hostname = "mgmt01.mathinst.loc"; | 454 | { hostname = "mgmt01.mathinst.loc"; |
450 | proxyJump = "mathw0h"; | 455 | proxyJump = "mathw0h"; |