From e1e01db1294dbfa87b5e7f05c61195a06182b9a5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 12 Oct 2021 14:46:44 +0200 Subject: sif: ... --- accounts/gkleen@sif/default.nix | 2 ++ accounts/gkleen@sif/ssh-hosts.nix | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'accounts/gkleen@sif') 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 { ProxyJump remote.cip.ifi.lmu.de Match host *.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null" + IdentityFile ~/.ssh/gkleen@mathinst.loc ProxyJump math60 Match host *.cipmath.loc !exec "nc -z -w 1 %h %p &>/dev/null" + IdentityFile ~/.ssh/gkleen@mathinst.loc ProxyJump mathw0h.mathinst.loc 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 @@ }; "mathw0e" = { hostname = "mathw0e.mathinst.loc"; - identityFile = "~/.ssh/gkleen@mathinst.loc"; proxyJump = "mathw0h.mathinst.loc"; }; "vrt-kvm04" = - { identityFile = "~/.ssh/gkleen@mathinst.loc"; - proxyJump = "mathw0e"; + { proxyJump = "mathw0e"; user = "root"; }; "tts-www01" = { proxyJump = "mathw0h.mathinst.loc"; user = "root"; }; + "dpl-fai01" = + { hostname = "dpl-fai01.mathinst.loc"; + user = "root"; + }; } -- cgit v1.2.3