[Bug 3860] New: make agent socket template customizable

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Sep 5 00:09:24 AEST 2025


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.


More information about the openssh-bugs mailing list