Skip to content

v0.1.1 — control socket path fix

Choose a tag to compare

@jaycverg jaycverg released this 05 Sep 03:00

Patch release: fixes multiplexing to hosts with a long user@host:port.

Fixed

  • unix_listener: path ... too long for Unix domain socket when reuseSshConnection was on and the target was long enough to overrun sockaddr_un.sun_path (104 bytes on macOS). The control socket is now a fixed-width hash of the target rather than ssh's unbounded %r@%h:%p, with a /tmp fallback for when the OS temp dir is itself long enough to blow the budget — which it is on macOS, where TMPDIR is a ~48-character /var/folders/… path.

Full notes: CHANGELOG.md