From f2d1bfa965520eeb2c2e21232709b551326d5f60 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Tue, 10 Dec 2024 02:11:56 +0300 Subject: [PATCH] Ssh: Use hashes for sockets for ipv6 compatibility. --- home/file/ssh/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/file/ssh/default.nix b/home/file/ssh/default.nix index f5f81689..40e1ce05 100644 --- a/home/file/ssh/default.nix +++ b/home/file/ssh/default.nix @@ -12,7 +12,7 @@ in { text = (util.trimTabs '' Host * ControlMaster auto - ControlPath ~/.ssh/%r@%h:%p.socket + ControlPath ~/.ssh/%C.socket ControlPersist yes '') + mkHost "dasha" "10.0.0.7" 22143 "root"