From 82b170afa7a5ab1272f52e6c2d2750d1737141c2 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Wed, 3 Dec 2025 13:58:23 +0100 Subject: [PATCH] change ssh key location --- modules/ssh.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/ssh.nix b/modules/ssh.nix index 6d9aea1..1c9ce73 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -14,26 +14,26 @@ "github.com" = { hostname = "github.com"; user = "git"; - identityFile = "~/.ssh/keys/github"; + identityFile = "~/Credentials/ssh_keys/github"; }; "aicloud" = { hostname = "ai-fe02.srv.aau.dk"; user = "hb05nk@cs.aau.dk"; - identityFile = "~/.ssh/keys/aicloud"; + identityFile = "~/Credentials/ssh_keys/aicloud"; proxyJump = "thinkpad"; }; "aicloud.lan" = { hostname = "ai-fe02.srv.aau.dk"; user = "hb05nk@cs.aau.dk"; - identityFile = "~/.ssh/keys/aicloud"; + identityFile = "~/Credentials/ssh_keys/aicloud"; }; "hs" = { hostname = "lan.hs.yanlincs.com"; user = "yanlin"; - identityFile = "~/.ssh/keys/nas"; + identityFile = "~/Credentials/ssh_keys/nas"; setEnv = { TERM = "xterm-256color"; }; @@ -42,7 +42,7 @@ "thinkpad" = { hostname = "vpn.thinkpad.yanlincs.com"; user = "yanlin"; - identityFile = "~/.ssh/keys/thinkpad"; + identityFile = "~/Credentials/ssh_keys/thinkpad"; setEnv = { TERM = "xterm-256color"; }; @@ -51,19 +51,19 @@ "vps" = { hostname = "91.98.84.215"; user = "yanlin"; - identityFile = "~/.ssh/keys/hetzner"; + identityFile = "~/Credentials/ssh_keys/hetzner"; }; "borg-box" = { hostname = "u501367.your-storagebox.de"; user = "u501367"; port = 23; - identityFile = "~/.ssh/keys/hetzner"; + identityFile = "~/Credentials/ssh_keys/hetzner"; }; "borg-thinkpad" = { hostname = "vpn.thinkpad.yanlincs.com"; - identityFile = "~/.ssh/keys/thinkpad"; + identityFile = "~/Credentials/ssh_keys/thinkpad"; }; };