[Bug 3704] New: Implement an interface to capture port number of random remote port forwarding -R 0:localhost:22

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Jun 26 16:35:47 AEST 2024


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

            Bug ID: 3704
           Summary: Implement an interface to capture port number of
                    random remote port forwarding -R 0:localhost:22
           Product: Portable OpenSSH
           Version: 9.7p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: umut at tezduyar.com

I am exposing IoT devices SSH interface to the cloud. The IoT devices
set up the port forwarding with -R 0:localhost:22. The random port
number is picked by the sshd and is sent to the client on the TTY. Then
my clients are sending the port number to the server to keep track of
active sessions. 

Here I rely on client doing the right thing and reporting the correct
allocated port number to the server. 

I would like to request a feature to have an interface on the sshd to
capture the allocated port number for a given key/fingerprint

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


More information about the openssh-bugs mailing list