From 2d60c31d43857bca20faf77dd112327fb6a112fc Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 23 Jan 2022 16:43:44 +0100 Subject: gkleen@sif: webdev@lrz --- accounts/gkleen@sif/default.nix | 2 +- accounts/gkleen@sif/ssh-hosts.nix | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@sif') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 6599b5fa..b2e9d947 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -67,7 +67,7 @@ in { home-manager.users.${userName} = { programs = { ssh = { - matchBlocks = import ./ssh-hosts.nix; # customUtils.nixImport { dir = ./ssh-hosts; }; + matchBlocks = import ./ssh-hosts.nix { inherit pkgs; }; # customUtils.nixImport { dir = ./ssh-hosts; }; extraConfig = '' Match host uniworx3.ifi.lmu.de,uniworx4.ifi.lmu.de,uniworx5.ifi.lmu.de,uni2workgw.ifi.lmu.de,blackbeard.tcs.ifi.lmu.de,gitlab2.rz.ifi.lmu.de,oregon.tcs.ifi.lmu.de !exec "nc -z -w 1 %h %p &>/dev/null" ProxyJump remote.cip.ifi.lmu.de diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index aab9e5b4..938e5af7 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix @@ -1,3 +1,4 @@ +{ pkgs, ... }: { "git.ymir" = { hostname = "ymir.yggdrasil.li"; @@ -382,4 +383,7 @@ proxyJump = "vidhar"; identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil"; }; + "webdev02-mwn.lrz.de" = + { proxyCommand = "${pkgs.socat}/bin/socat - SOCKS4A:127.0.0.1:%h:%p,socksport=8118"; + }; } -- cgit v1.2.3