18 lines
420 B
Nix
18 lines
420 B
Nix
{
|
|
programs.ssh = {
|
|
enable = true;
|
|
|
|
programs.ssh.matchBlocks."*" = {
|
|
forwardAgent = false;
|
|
addKeysToAgent = "no";
|
|
compression = false;
|
|
serverAliveInterval = 0;
|
|
serverAliveCountMax = 3;
|
|
hashKnownHosts = false;
|
|
userKnownHostsFile = "~/.ssh/known_hosts";
|
|
controlMaster = "no";
|
|
controlPath = "~/.ssh/master-%r@%n:%p";
|
|
controlPersist = "no";
|
|
};
|
|
};
|
|
}
|