1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

flake: document ControlPath=none

This commit is contained in:
2025-12-29 15:23:53 +01:00
parent be0a9620a4
commit 69e752bb6b

View File

@@ -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"