[Bug 2943] New: ControlPath: automatically create parent directories if needed

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sun Dec 9 05:24:18 AEDT 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2943

            Bug ID: 2943
           Summary: ControlPath: automatically create parent directories
                    if needed
           Product: Portable OpenSSH
           Version: 7.9p1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: julien.nicoulaud at gmail.com

When using a ControlPath with nested subdirectories, for instance
(trying to follow XDG spec):

  ControlPath ~/.cache/ssh/%r@%h:%p

If these directories do not exist, ssh 7.9p1 fails with message:

  unix_listener: cannot bind to path /home/XXXX/.cache/ssh/XXXX at XXXX:
No such file or directory

It would be nice if the needed parent directories were automatically
created.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list