feat: ssh multiplexing

This commit is contained in:
Patrick 2023-09-25 00:33:43 +02:00
parent 129d3f0b72
commit 5d5397a0c0
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -8,6 +8,8 @@
'';
programs.ssh = {
enable = true;
controlMaster = "auto";
controlPersist = "5s";
matchBlocks = let
identityFile = ["~/.ssh/1.pub" "~/.ssh/2.pub"];
in {