blob: eacb7a623d2b864d4824066f67772f1a65b09a6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{ config, ... }:
{
# Comments are for NixOS 25.11
programs.ssh = {
enable = true;
#---- These will be removed
addKeysToAgent = "yes";
# enableDefaultConfig = false;
extraConfig = ''
identitiesOnly yes
'';
#-------------------------
matchBlocks = {
# "*" = {
# addKeysToAgent = "yes";
# forwardAgent = false;
# serverAliveInterval = 0;
# serverAliveCountMax = 3;
# identitiesOnly = true;
# };
"github.com" = {
hostname = "github.com";
user = "git";
identityFile = "~/.ssh/commits";
};
"aethrvmn.gr" = {
hostname = "aethrvmn.gr";
identityFile = "~/.ssh/connections";
};
"apo.theke.ml" = {
hostname = "apo.theke.ml";
user = "git";
port = 222;
identityFile = "~/.ssh/theke";
};
"code.aethrvmn.gr" = {
hostname = "code.aethrvmn.gr";
identityFile = "~/.ssh/commits";
};
"velor.gr" = {
hostname = "velor.gr";
identityFile = "~/.ssh/velor";
};
};
};
}
|
; all rights regarding Text and Data Mining (TDM) are reserved.