2022-04-13 09:59:45 +00:00
|
|
|
{ ... }: {
|
|
|
|
programs.ssh = {
|
2022-04-16 09:55:59 +00:00
|
|
|
controlMaster = "auto";
|
2022-04-16 07:45:42 +00:00
|
|
|
controlPersist = "10m";
|
2022-04-13 09:59:45 +00:00
|
|
|
enable = true;
|
2022-04-13 10:33:50 +00:00
|
|
|
matchBlocks = {
|
|
|
|
"build-nas" = {
|
|
|
|
hostname = "backup.int.chir.rs";
|
|
|
|
identitiesOnly = true;
|
|
|
|
identityFile = "~/.ssh/id_ed25519";
|
|
|
|
port = 22;
|
|
|
|
user = "darkkirb";
|
|
|
|
};
|
|
|
|
"build-pc" = {
|
|
|
|
hostname = "nutty-noon.int.chir.rs";
|
|
|
|
identitiesOnly = true;
|
|
|
|
identityFile = "~/.ssh/id_ed25519";
|
|
|
|
port = 22;
|
|
|
|
user = "darkkirb";
|
|
|
|
};
|
2022-04-13 09:59:45 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|