diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-02 11:32:21 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-02 11:32:21 +0200 |
commit | f2f265d109493f64fae3a26ae2daacfeec2b5e56 (patch) | |
tree | 02ea07c2febaa5f61817f6b4bebec4bd3a9776a4 | |
parent | 9c2c79f77809c0ba90c9654b1bdccc9cefee207e (diff) | |
download | nixos-f2f265d109493f64fae3a26ae2daacfeec2b5e56.tar nixos-f2f265d109493f64fae3a26ae2daacfeec2b5e56.tar.gz nixos-f2f265d109493f64fae3a26ae2daacfeec2b5e56.tar.bz2 nixos-f2f265d109493f64fae3a26ae2daacfeec2b5e56.tar.xz nixos-f2f265d109493f64fae3a26ae2daacfeec2b5e56.zip |
sif: mathinst.loc
-rw-r--r-- | accounts/gkleen@sif/default.nix | 3 | ||||
-rw-r--r-- | accounts/gkleen@sif/ssh-hosts.nix | 4 |
2 files changed, 7 insertions, 0 deletions
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 { | |||
72 | 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" | 72 | 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" |
73 | ProxyJump remote.cip.ifi.lmu.de | 73 | ProxyJump remote.cip.ifi.lmu.de |
74 | 74 | ||
75 | Match host *.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null" | ||
76 | ProxyJump math60 | ||
77 | |||
75 | Host * | 78 | Host * |
76 | ''; | 79 | ''; |
77 | }; | 80 | }; |
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 @@ | |||
257 | { hostname = "192.168.2.168"; | 257 | { hostname = "192.168.2.168"; |
258 | identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil"; | 258 | identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil"; |
259 | }; | 259 | }; |
260 | "math60" = | ||
261 | { hostname = "math60.math.lmu.de"; | ||
262 | identityFile = "~/.ssh/gkleen@mathinst.loc"; | ||
263 | }; | ||
260 | } | 264 | } |