[Bug 3333] Both Local Port forwarding and Remote port forwarding at openSSH working is not a right case, if SSH Client is on Remote port forwarding

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jul 29 07:01:23 AEST 2021


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org

--- Comment #2 from Damien Miller <djm at mindrot.org> ---
If I'm understanding your report correctly then this is working as
intended:

> 1B. Command: $SSH -R 6900:127.0.0.1:5900 ssh at 127.0.0.1

This asks ssh/sshd to forward remote port 6900 to 127.0.0.1:5900 at the
local side.

> 1B. Command: $SSH -L 6900:127.0.0.1:5900 ssh at 127.0.0.1

This asks ssh/sshd to forward local port 6900 to 127.0.0.1:5900 at the
remote side.

Since the "remote side" in both these examples is localhost, there is
no effective difference between these commands, and they could be used
interchangeably.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list