backwards: Use programs.ssh.settings
This commit is contained in:
@@ -21,31 +21,32 @@ in
|
|||||||
home-manager.users.alex = {
|
home-manager.users.alex = {
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableDefaultConfig = false;
|
||||||
|
|
||||||
matchBlocks = {
|
settings = {
|
||||||
"manatee" = {
|
"manatee" = {
|
||||||
hostname = "manatee";
|
HostName = "manatee";
|
||||||
user = "alex";
|
User = "alex";
|
||||||
identityFile = "/home/alex/.ssh/alex.backwards-manatee";
|
IdentityFile = "/home/alex/.ssh/alex.backwards-manatee";
|
||||||
port = 1122;
|
Port = 1122;
|
||||||
};
|
};
|
||||||
|
|
||||||
"git.ppp.pm" = {
|
"git.ppp.pm" = {
|
||||||
hostname = "git.ppp.pm";
|
HostName = "git.ppp.pm";
|
||||||
identityFile = "/home/alex/.ssh/alex.backwards-git.ppp.pm";
|
IdentityFile = "/home/alex/.ssh/alex.backwards-git.ppp.pm";
|
||||||
};
|
};
|
||||||
|
|
||||||
"*" = {
|
"*" = {
|
||||||
forwardAgent = false;
|
ForwardAgent = false;
|
||||||
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