mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-23 04:43:00 +09:00
fix(ssh): rename settings options and add some specific options for
homelab servers
This commit is contained in:
parent
0a58b63c92
commit
34d6899214
1 changed files with 32 additions and 38 deletions
|
|
@ -5,52 +5,46 @@
|
|||
settings = {
|
||||
"*" = {};
|
||||
"github.com" = {
|
||||
hostname = "github.com";
|
||||
user = "git";
|
||||
identitiesOnly = true;
|
||||
identityFile = [config.sops.secrets."github_ssh_key".path];
|
||||
Hostname = "github.com";
|
||||
User = "git";
|
||||
IdentitiesOnly = true;
|
||||
IdentityFile = [config.sops.secrets."github_ssh_key".path];
|
||||
};
|
||||
"Valkyrie-Ubuntu_Server" = {
|
||||
hostname = "192.168.64.2";
|
||||
user = "poby";
|
||||
port = 22;
|
||||
identitiesOnly = true;
|
||||
identityFile = [config.sops.secrets."github_ssh_key".path];
|
||||
Hostname = "192.168.64.2";
|
||||
User = "poby";
|
||||
Port = 22;
|
||||
IdentitiesOnly = true;
|
||||
IdentityFile = [config.sops.secrets."github_ssh_key".path];
|
||||
};
|
||||
"kmeat-mac-mini" = {
|
||||
hostname = "ai.kmeat.com";
|
||||
user = "kmeat";
|
||||
port = 10222;
|
||||
identitiesOnly = true;
|
||||
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];
|
||||
Hostname = "ai.kmeat.com";
|
||||
User = "kmeat";
|
||||
Port = 10222;
|
||||
IdentitiesOnly = true;
|
||||
IdentityFile = [config.sops.secrets."kmeat_mac_mini_ssh_key".path];
|
||||
};
|
||||
"yggdrasil" = {
|
||||
hostname = "yggdrasil.tail6fc192.ts.net";
|
||||
user = "poby";
|
||||
port = 22;
|
||||
identitiesOnly = true;
|
||||
identityFile = [config.sops.secrets."github_ssh_key".path];
|
||||
Hostname = "yggdrasil.tail6fc192.ts.net";
|
||||
User = "poby";
|
||||
Port = 22;
|
||||
IdentitiesOnly = true;
|
||||
IdentityFile = [config.sops.secrets."github_ssh_key".path];
|
||||
PreferredAuthentications = "publickey";
|
||||
ForwardAgent = false;
|
||||
ServerAliveInterval = 30;
|
||||
ServerAliveCountMax = 3;
|
||||
};
|
||||
"midgard" = {
|
||||
hostname = "midgard.tail6fc192.ts.net";
|
||||
user = "poby";
|
||||
port = 22;
|
||||
identitiesOnly = true;
|
||||
identityFile = [config.sops.secrets."github_ssh_key".path];
|
||||
Hostname = "midgard.tail6fc192.ts.net";
|
||||
User = "poby";
|
||||
Port = 22;
|
||||
IdentitiesOnly = true;
|
||||
IdentityFile = [config.sops.secrets."github_ssh_key".path];
|
||||
PreferredAuthentications = "publickey";
|
||||
ForwardAgent = false;
|
||||
ServerAliveInterval = 30;
|
||||
ServerAliveCountMax = 3;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue