summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-05-29 12:10:24 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-05-29 12:10:24 +0200
commite54079e281bf88e6a06e4d15d6cbfff003ceef43 (patch)
treec22ba1100099f75ccf142f4b8b83ef270ac621c5 /accounts/gkleen@sif
parentde2521348c54e73c5260a15bd2d7eb214df24c60 (diff)
downloadnixos-e54079e281bf88e6a06e4d15d6cbfff003ceef43.tar
nixos-e54079e281bf88e6a06e4d15d6cbfff003ceef43.tar.gz
nixos-e54079e281bf88e6a06e4d15d6cbfff003ceef43.tar.bz2
nixos-e54079e281bf88e6a06e4d15d6cbfff003ceef43.tar.xz
nixos-e54079e281bf88e6a06e4d15d6cbfff003ceef43.zip
...
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r--accounts/gkleen@sif/default.nix2
-rw-r--r--accounts/gkleen@sif/ssh-hosts.nix5
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";