From f2f265d109493f64fae3a26ae2daacfeec2b5e56 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 2 Oct 2021 11:32:21 +0200 Subject: sif: mathinst.loc --- accounts/gkleen@sif/default.nix | 3 +++ accounts/gkleen@sif/ssh-hosts.nix | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 362a3474..e97030da 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -72,6 +72,9 @@ in { 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 + Match host *.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null" + ProxyJump math60 + Host * ''; }; diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index 3caa8619..cb512ceb 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix @@ -257,4 +257,8 @@ { hostname = "192.168.2.168"; identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil"; }; + "math60" = + { hostname = "math60.math.lmu.de"; + identityFile = "~/.ssh/gkleen@mathinst.loc"; + }; } -- cgit v1.2.3