[Bug 2318] ControlPath name collisions when using shared locations like /tmp for the sockets.

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Nov 15 13:44:35 EST 2014


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

Christoph Anton Mitterer <calestyo at scientia.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ControlPath collisions when |ControlPath name collisions
                   |using shared locations like |when using shared locations
                   |/tmp for the sockets.       |like /tmp for the sockets.

--- Comment #1 from Christoph Anton Mitterer <calestyo at scientia.net> ---
(Sorry, hit enter too fast)


This issue is from [0], see also bug #2311.


If a shared location like /tmp would be used for the ControlPath
setting of ssh, the following issues may arise:

1) %C (the hash hover local host, remote user, hostname, port) alone,
may lead to collisions, since local host, remote user, hostname, port
are not alone to generate unique names.
The local user name should be added to %C.

2) The manpage section which tells people which data they should use at
least to prevent collisions should be adapted as well, to also include
%u (i.e. the local user name).


Cheers,
Chris.

[0]
https://lists.mindrot.org/pipermail/openssh-unix-dev/2014-November/033140.html

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


More information about the openssh-bugs mailing list