home/ssh | upstream changes
This commit is contained in:
parent
762a6f33a2
commit
e0f7dddf50
1 changed files with 17 additions and 10 deletions
|
|
@ -2,11 +2,7 @@
|
|||
programs = {
|
||||
ssh = {
|
||||
enable = true;
|
||||
compression = true;
|
||||
addKeysToAgent = "yes";
|
||||
serverAliveCountMax = 2;
|
||||
serverAliveInterval = 10;
|
||||
hashKnownHosts = true;
|
||||
enableDefaultConfig = false;
|
||||
matchBlocks = {
|
||||
"git" = {
|
||||
port = 2020;
|
||||
|
|
@ -20,9 +16,20 @@
|
|||
user = "duck";
|
||||
hostname = "wise.dreamhost.com";
|
||||
};
|
||||
"*" = {user = "don";};
|
||||
};
|
||||
extraConfig = ''
|
||||
ConnectTimeout 5
|
||||
AddKeysToAgent yes
|
||||
Compression yes
|
||||
ControlMaster no
|
||||
ControlPath "~/.ssh/master-%r@%n:%p"
|
||||
ControlPersist no
|
||||
ForwardAgent no
|
||||
HashKnownHosts yes
|
||||
ServerAliveCountMax 2
|
||||
ServerAliveInterval 10
|
||||
UserKnownHostsFile "~/.ssh/known_hosts"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue