2024-02-04 07:14:04 +00:00
|
|
|
{...}: {
|
|
|
|
programs.ssh = {
|
|
|
|
enable = true;
|
|
|
|
forwardAgent = true;
|
|
|
|
compression = true;
|
|
|
|
serverAliveInterval = 15;
|
|
|
|
serverAliveCountMax = 3;
|
|
|
|
controlMaster = "auto";
|
|
|
|
controlPersist = "10s";
|
|
|
|
extraConfig = ''
|
2024-03-31 12:59:24 +01:00
|
|
|
AddKeysToAgent=yes
|
2024-02-04 07:14:04 +00:00
|
|
|
SetEnv TERM=xterm-256color
|
|
|
|
'';
|
|
|
|
matchBlocks = {
|
|
|
|
"git*".user = "git";
|
|
|
|
"legion" = {
|
2024-03-08 07:05:28 +00:00
|
|
|
user = "pixelifytica";
|
2024-03-23 21:03:37 +00:00
|
|
|
hostname = "192.168.0.205";
|
2024-02-04 07:14:04 +00:00
|
|
|
};
|
2024-02-12 13:31:38 +00:00
|
|
|
"vanguard" = {
|
2024-03-08 07:05:28 +00:00
|
|
|
user = "pixelifytica";
|
2024-03-23 21:03:37 +00:00
|
|
|
hostname = "192.168.0.90";
|
2024-02-12 13:31:38 +00:00
|
|
|
};
|
2024-02-04 07:14:04 +00:00
|
|
|
"ionos" = {
|
|
|
|
user = "root";
|
|
|
|
hostname = "77.68.67.133";
|
|
|
|
};
|
|
|
|
"freia" = {
|
|
|
|
user = "elitherl";
|
|
|
|
hostname = "freia020.hpc.l";
|
|
|
|
};
|
|
|
|
"heimdall" = {
|
|
|
|
user = "elitherl";
|
|
|
|
hostname = "heimdall003.jet.uk";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|