fix: use ssh ControlMaster=auto and not yes (which causes errors on 2nd+ connection)

This commit is contained in:
oddlama 2023-09-24 22:56:06 +02:00
parent 02c14b50e5
commit 54e158d079
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -2,7 +2,7 @@
home.file.".ssh/yubikey.pub".text = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA5Uq+CDy5Pmt3If5M6d8K/Q7HArU6sZ7sgoj3T521Wm"; home.file.".ssh/yubikey.pub".text = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA5Uq+CDy5Pmt3If5M6d8K/Q7HArU6sZ7sgoj3T521Wm";
programs.ssh = { programs.ssh = {
enable = true; enable = true;
controlMaster = "yes"; controlMaster = "auto";
inherit (config.userSecrets.ssh) matchBlocks; inherit (config.userSecrets.ssh) matchBlocks;
}; };
} }