nixos-rebuild-ng: use hash token in ControlPath

Previously used token %n refers to the hostname
which can be `too long for Unix domain socket`
This commit is contained in:
Jakob Klepp
2026-05-27 17:02:22 +02:00
committed by GitHub
parent 63437671cb
commit da38ab0e39
@@ -19,7 +19,7 @@ SSH_DEFAULT_OPTS: Final = [
"-o",
"ControlMaster=auto",
"-o",
f"ControlPath={tmpdir.TMPDIR_PATH / 'ssh-%n'}",
f"ControlPath={tmpdir.TMPDIR_PATH / 'ssh-%C'}",
"-o",
"ControlPersist=60",
]