[Bug 3133] Dynamically Assigned Ports for DynamicForward and LocalForward

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Sep 18 04:59:19 AEST 2024


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

LaurenceF <laurence at the4thplatform.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |laurence at the4thplatform.co.
                   |                            |uk

--- Comment #2 from LaurenceF <laurence at the4thplatform.co.uk> ---
I have been thinking about requesting something similar however I've
realised because the local tunnel port is only valid while the SSH
command is running to have a dynamically assigned local port from the
Free pool you will need to write it to stdout in a parseable line and
also to a local file and / or on windows a user registry key. This
would then allow another application to pick up the Local TCP port
number and use it.

My suggestion was going to be if the local port number specified in the
is actually an Alphanumeric string rather than a purely numeric string
then this alphanumeric means assign a dynamic port port and use the
string as used in the file name / registry key name that will contain
the number of the Local TCP port number.

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


More information about the openssh-bugs mailing list