diff options
author | stuebinm | 2023-09-25 18:30:21 +0200 |
---|---|---|
committer | stuebinm | 2023-09-25 18:30:21 +0200 |
commit | 55d67617e0ae7f6c7bbb759d3dbff7c5257f2e98 (patch) | |
tree | 4516ea773b9c1914c2ffe408e3fb2b4e4a331c17 /home | |
parent | b29058e9e5941e304d4df7362c1ffa90e350b049 (diff) |
home: update ssh match blocks
Diffstat (limited to '')
-rw-r--r-- | home/home.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/home/home.nix b/home/home.nix index db3d0bc..145ef2e 100644 --- a/home/home.nix +++ b/home/home.nix @@ -262,15 +262,14 @@ enable = true; matchBlocks = let keydir = config.home.homeDirectory + "/.ssh"; - hetznerlogin = match: {user = "root"; identityFile = keydir + "/hetzner.pub"; forwardAgent = true;} // match; + hetznerlogin = match: {user = "root"; identityFile = keydir + "/hetzner.pub";} // match; vpslogin = hostname: hetznerlogin {inherit hostname;}; - lmulogin = hostname: {identityFile = keydir + "/key_lmu"; user = "lmu-user"; } // { inherit hostname;}; in { - "parsons" = hetznerlogin { + "parsons" = { hostname = "parsons.hacc.space"; port = 62954; user = "stuebinm"; - identityFile = keydir + "/id_rsa"; + identityFile = keydir + "/id_ed25519"; }; "flora" = vpslogin "flora.stuebinm.eu"; "chaski" = vpslogin "chaski.stuebinm.eu"; |