From 3953a182a0cc1b9d2cb9bd45dd1a64e0903812b1 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 8 Dec 2021 15:43:47 +0100 Subject: gkleen@sif: socks4a instead of jumpHost --- accounts/gkleen@sif/default.nix | 2 +- accounts/gkleen@sif/ssh-hosts.nix | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'accounts/gkleen@sif') 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 { PubkeyAcceptedAlgorithms +ssh-rsa Match host *.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null" - ProxyJump mathw0g + ProxyCommand ${pkgs.socat}/bin/socat - SOCKS4A:127.0.0.1:%h:%p,socksport=8118 Match host *.cipmath.loc !exec "nc -z -w 1 %h %p &>/dev/null" 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 @@ }; "mathw0h" = { hostname = "mathw0h.mathinst.loc"; - proxyJump = "mathw0g"; }; "proxy.mathw0g" = { hostname = "mathw0g.math.lmu.de"; -- cgit v1.2.3