ssh config

This commit is contained in:
John Lancaster
2025-12-27 11:57:34 -06:00
parent 432453304e
commit 4e875f654f

View File

@@ -38,6 +38,10 @@
hostname = "192.168.1.110"; hostname = "192.168.1.110";
user = "root"; user = "root";
}; };
"gitea" = {
hostname = "192.168.1.104";
user = "john";
};
"hermes" = { "hermes" = {
hostname = "192.168.1.150"; hostname = "192.168.1.150";
user = "root"; user = "root";
@@ -71,6 +75,8 @@
identitiesOnly = true; identitiesOnly = true;
identityFile = "~/.ssh/id_ed25519"; identityFile = "~/.ssh/id_ed25519";
certificateFile = "~/.ssh/id_ed25519-cert.pub"; certificateFile = "~/.ssh/id_ed25519-cert.pub";
addKeysToAgent = "yes";
forwardAgent = true;
}; };
}) })
(lib.mkIf (config.profile == "work") { (lib.mkIf (config.profile == "work") {