darwin: migrate ssh config settings
This commit is contained in:
@@ -200,18 +200,18 @@ in {
|
|||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableDefaultConfig = false;
|
enableDefaultConfig = false;
|
||||||
matchBlocks = {
|
settings = {
|
||||||
"*" = {
|
"*" = {
|
||||||
forwardAgent = true;
|
ForwardAgent = true;
|
||||||
addKeysToAgent = "no";
|
AddKeysToAgent = "no";
|
||||||
compression = false;
|
Compression = false;
|
||||||
serverAliveInterval = 0;
|
ServerAliveInterval = 0;
|
||||||
serverAliveCountMax = 3;
|
ServerAliveCountMax = 3;
|
||||||
hashKnownHosts = false;
|
HashKnownHosts = false;
|
||||||
userKnownHostsFile = "~/.ssh/known_hosts";
|
UserKnownHostsFile = "~/.ssh/known_hosts";
|
||||||
controlMaster = "no";
|
ControlMaster = "no";
|
||||||
controlPath = "~/.ssh/master-%r@%n:%p";
|
ControlPath = "~/.ssh/master-%r@%n:%p";
|
||||||
controlPersist = "no";
|
ControlPersist = "no";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user