diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-12 14:46:44 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-12 14:46:44 +0200 |
commit | e1e01db1294dbfa87b5e7f05c61195a06182b9a5 (patch) | |
tree | c31ccc60ad925126957d51939f809b53646d2a11 /accounts/gkleen@sif | |
parent | b5c5276995d8e8e2dae66ac875834de076d76ee3 (diff) | |
download | nixos-e1e01db1294dbfa87b5e7f05c61195a06182b9a5.tar nixos-e1e01db1294dbfa87b5e7f05c61195a06182b9a5.tar.gz nixos-e1e01db1294dbfa87b5e7f05c61195a06182b9a5.tar.bz2 nixos-e1e01db1294dbfa87b5e7f05c61195a06182b9a5.tar.xz nixos-e1e01db1294dbfa87b5e7f05c61195a06182b9a5.zip |
sif: ...
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 2 | ||||
-rw-r--r-- | accounts/gkleen@sif/ssh-hosts.nix | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 53eb5f30..5e8024a7 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -73,9 +73,11 @@ in { | |||
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" | 75 | Match host *.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null" |
76 | IdentityFile ~/.ssh/gkleen@mathinst.loc | ||
76 | ProxyJump math60 | 77 | ProxyJump math60 |
77 | 78 | ||
78 | Match host *.cipmath.loc !exec "nc -z -w 1 %h %p &>/dev/null" | 79 | Match host *.cipmath.loc !exec "nc -z -w 1 %h %p &>/dev/null" |
80 | IdentityFile ~/.ssh/gkleen@mathinst.loc | ||
79 | ProxyJump mathw0h.mathinst.loc | 81 | ProxyJump mathw0h.mathinst.loc |
80 | 82 | ||
81 | Host * | 83 | Host * |
diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index aced0369..302ad357 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix | |||
@@ -263,16 +263,18 @@ | |||
263 | }; | 263 | }; |
264 | "mathw0e" = | 264 | "mathw0e" = |
265 | { hostname = "mathw0e.mathinst.loc"; | 265 | { hostname = "mathw0e.mathinst.loc"; |
266 | identityFile = "~/.ssh/gkleen@mathinst.loc"; | ||
267 | proxyJump = "mathw0h.mathinst.loc"; | 266 | proxyJump = "mathw0h.mathinst.loc"; |
268 | }; | 267 | }; |
269 | "vrt-kvm04" = | 268 | "vrt-kvm04" = |
270 | { identityFile = "~/.ssh/gkleen@mathinst.loc"; | 269 | { proxyJump = "mathw0e"; |
271 | proxyJump = "mathw0e"; | ||
272 | user = "root"; | 270 | user = "root"; |
273 | }; | 271 | }; |
274 | "tts-www01" = | 272 | "tts-www01" = |
275 | { proxyJump = "mathw0h.mathinst.loc"; | 273 | { proxyJump = "mathw0h.mathinst.loc"; |
276 | user = "root"; | 274 | user = "root"; |
277 | }; | 275 | }; |
276 | "dpl-fai01" = | ||
277 | { hostname = "dpl-fai01.mathinst.loc"; | ||
278 | user = "root"; | ||
279 | }; | ||
278 | } | 280 | } |