From cf674cf7c1598b8c412e81c454760cbf4f97decd Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 11 Dec 2022 12:04:25 +0100 Subject: ... --- accounts/gkleen@sif/ssh-hosts.nix | 10 ++++++++++ accounts/gkleen@sif/zshrc | 1 + 2 files changed, 11 insertions(+) (limited to 'accounts') diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index 897ad8ce..3af0b109 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix @@ -438,4 +438,14 @@ { hostname = "math0d.mathinst.loc"; proxyJump = "mathw0h"; }; + "dhcp01" = + { hostname = "dhcp01.mathinst.loc"; + user = "root"; + proxyJump = "mathw0h"; + }; + "dhcp02" = + { hostname = "dhcp02.mathinst.loc"; + user = "root"; + proxyJump = "mathw0h"; + }; } diff --git a/accounts/gkleen@sif/zshrc b/accounts/gkleen@sif/zshrc index bda73d76..8b29b2d3 100644 --- a/accounts/gkleen@sif/zshrc +++ b/accounts/gkleen@sif/zshrc @@ -449,6 +449,7 @@ done < <(find ~/projects ~/uni -regextype posix-extended -maxdepth 2 -type d -re sort -z -r -k2 | sort -z -s -k3 | uniq -z -f 2) alias '..'='cd ..' +alias rzadm=$'tmpdir -i sh -c \'mkdir adm; sshfs gkleen@mgmt01:/adm adm\'' alias -g L='| less' alias -g S='&> /dev/null' alias -g G='| grep' -- cgit v1.2.3