blob: 3aa286b4316f4b1aed6e7e4329946d9697196e69 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ ... }:
{
programs.ssh = {
enable = true;
forwardAgent = true;
serverAliveInterval = 60;
controlMaster = "auto";
controlPersist = "30m";
matchBlocks = {
"github.com" = {
hostname = "github.com";
user = "git";
forwardAgent = false;
extraOptions = { preferredAuthentications = "publickey"; };
};
"rsync.net" = {
hostname = "de2664.rsync.net";
user = "de2664";
forwardAgent = false;
extraOptions = { preferredAuthentications = "publickey"; };
};
};
};
}
|