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

            Bug ID: 2220
           Summary: Add uuid-style identifier for use with ControlPath
           Product: Portable OpenSSH
           Version: -current
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 2418
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2418&action=edit
Enhancement patch

When combining %h, %r, and %p (recommended for uniqueness) in
ControlPath,
long remote usernames and/or hostnames can cause the expansion to bump
up
against UNIX_PATH_MAX.

This patch adds a uuid-style path component (%m) that expands to the
sha1 digest of the concatenation of the local host (%l) + remote host
(%h) + remote port (%p) + remote user (%r).

The token's expanded length is a fixed 40 characters and provides a
reasonable expectation of uniqueness.

Sample usage:

  ControlPath ~/.ssh/control-master/%m

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to