fix(image): pre-create ~/.cache/ssh control path dir #21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/ssh-cache-dir"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
SSH configs that set a ControlPath under ~/.cache/ssh fail on the first
connection because the directory does not exist in the image, emitting
"unix_listener: cannot bind to path .../.cache/ssh/...: No such file or
directory". ssh/git then fall back to a fresh connection every time,
wasting time and resources on each invocation.
Create the directory at build time as the claude user so it is owned
correctly and the control socket can bind immediately.