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 | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 70a5c9f2..03bd4366 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -78,7 +78,7 @@ in { | |||
78 | PubkeyAcceptedAlgorithms +ssh-rsa | 78 | PubkeyAcceptedAlgorithms +ssh-rsa |
79 | 79 | ||
80 | Match host *.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null" | 80 | Match host *.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null" |
81 | ProxyJump mathw0g | 81 | ProxyCommand ${pkgs.socat}/bin/socat - SOCKS4A:127.0.0.1:%h:%p,socksport=8118 |
82 | 82 | ||
83 | Match host *.cipmath.loc !exec "nc -z -w 1 %h %p &>/dev/null" | 83 | Match host *.cipmath.loc !exec "nc -z -w 1 %h %p &>/dev/null" |
84 | ProxyJump mathw0h | 84 | ProxyJump mathw0h |
diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index 06b9ccaa..cd4c0c2d 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix | |||
@@ -285,7 +285,6 @@ | |||
285 | }; | 285 | }; |
286 | "mathw0h" = | 286 | "mathw0h" = |
287 | { hostname = "mathw0h.mathinst.loc"; | 287 | { hostname = "mathw0h.mathinst.loc"; |
288 | proxyJump = "mathw0g"; | ||
289 | }; | 288 | }; |
290 | "proxy.mathw0g" = | 289 | "proxy.mathw0g" = |
291 | { hostname = "mathw0g.math.lmu.de"; | 290 | { hostname = "mathw0g.math.lmu.de"; |