fix(ssh): rename settings options and add some specific options for

homelab servers
This commit is contained in:
Poby 2026-05-22 21:38:22 +09:00
parent 0a58b63c92
commit 34d6899214
No known key found for this signature in database

View file

@ -5,52 +5,46 @@
settings = { settings = {
"*" = {}; "*" = {};
"github.com" = { "github.com" = {
hostname = "github.com"; Hostname = "github.com";
user = "git"; User = "git";
identitiesOnly = true; IdentitiesOnly = true;
identityFile = [config.sops.secrets."github_ssh_key".path]; IdentityFile = [config.sops.secrets."github_ssh_key".path];
}; };
"Valkyrie-Ubuntu_Server" = { "Valkyrie-Ubuntu_Server" = {
hostname = "192.168.64.2"; Hostname = "192.168.64.2";
user = "poby"; User = "poby";
port = 22; Port = 22;
identitiesOnly = true; IdentitiesOnly = true;
identityFile = [config.sops.secrets."github_ssh_key".path]; IdentityFile = [config.sops.secrets."github_ssh_key".path];
}; };
"kmeat-mac-mini" = { "kmeat-mac-mini" = {
hostname = "ai.kmeat.com"; Hostname = "ai.kmeat.com";
user = "kmeat"; User = "kmeat";
port = 10222; Port = 10222;
identitiesOnly = true; IdentitiesOnly = true;
identityFile = [config.sops.secrets."kmeat_mac_mini_ssh_key".path]; IdentityFile = [config.sops.secrets."kmeat_mac_mini_ssh_key".path];
};
"yggdrasil.local" = {
hostname = "222.109.216.197";
user = "poby";
port = 22;
identitiesOnly = true;
identityFile = [config.sops.secrets."github_ssh_key".path];
};
"midgard.local" = {
hostname = "222.109.239.172";
user = "poby";
port = 22;
identitiesOnly = true;
identityFile = [config.sops.secrets."github_ssh_key".path];
}; };
"yggdrasil" = { "yggdrasil" = {
hostname = "yggdrasil.tail6fc192.ts.net"; Hostname = "yggdrasil.tail6fc192.ts.net";
user = "poby"; User = "poby";
port = 22; Port = 22;
identitiesOnly = true; IdentitiesOnly = true;
identityFile = [config.sops.secrets."github_ssh_key".path]; IdentityFile = [config.sops.secrets."github_ssh_key".path];
PreferredAuthentications = "publickey";
ForwardAgent = false;
ServerAliveInterval = 30;
ServerAliveCountMax = 3;
}; };
"midgard" = { "midgard" = {
hostname = "midgard.tail6fc192.ts.net"; Hostname = "midgard.tail6fc192.ts.net";
user = "poby"; User = "poby";
port = 22; Port = 22;
identitiesOnly = true; IdentitiesOnly = true;
identityFile = [config.sops.secrets."github_ssh_key".path]; IdentityFile = [config.sops.secrets."github_ssh_key".path];
PreferredAuthentications = "publickey";
ForwardAgent = false;
ServerAliveInterval = 30;
ServerAliveCountMax = 3;
}; };
}; };
}; };