From 69e752bb6b7dba4e3a7afd95e9a2ee8b94131881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Mon, 29 Dec 2025 15:23:53 +0100 Subject: [PATCH] flake: document ControlPath=none --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index d468763..3026a68 100644 --- a/flake.nix +++ b/flake.nix @@ -128,6 +128,10 @@ # Set SSH options based on address type if [[ "$reachable" == *.onion ]]; then + # why? ControlPath=none + # SSH is trying to create a control socket with a path that includes + # the full .onion hostname, and Unix domain sockets have a path length + # limit (typically 108 characters). The .onion address is too long. export NIX_SSHOPTS="-p ${ toString machines.${hostname}.sshPort } -o ProxyCommand='${pkgs.netcat}/bin/nc -x localhost:9050 %h %p' -o ControlPath=none"