bugzilla-daemon at mindrot.org
2025-Sep-04 14:09 UTC
[Bug 3860] New: make agent socket template customizable
https://bugzilla.mindrot.org/show_bug.cgi?id=3860 Bug ID: 3860 Summary: make agent socket template customizable Product: Portable OpenSSH Version: 10.0p2 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: sshd Assignee: unassigned-bugs at mindrot.org Reporter: krunoslav.sever at desy.de Hi, we have been tracking an agent problem today in 8.7 that attempted and failed to create the remote agent socket path in the (non-local) home directory. The problem was ultimately in the user profile but in the course of researching the cause I noticed that in 10.0p2 a template was introduced which switches the path from /tmp/ to the user home (pw.pw_dir) - e.g. agent_socket_template() in misc-agent.c. It will probably be a while until we reach 10.0 but in order to avoid any future problems, may I request some way to customize the remote path, i.e. something like AgentRootDir which defaults to the user home but could be customized to /tmp/ or something else in case a remote home could cause problems. Best Kruno -- You are receiving this mail because: You are watching the assignee of the bug.