Mailing List Archive

[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
https://bugzilla.mindrot.org/show_bug.cgi?id=3333

PavanKumar K Arakere <pshimoga@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |pshimoga@gmail.com

--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[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 [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3333

--- Comment #1 from PavanKumar K Arakere <pshimoga@gmail.com> ---
Setup:

VNCServer<-->OpenSSH_Server(RPF) <===> openSSH_Client(LPF)<-->VNCClient
------------------------------------------------------------------------

Individual App details:
1. VNCServer on LinuxSystem: configured to run at 127.0.0.1 at port
5900

2. OpenSSH as Server on LinuxSystem:
ssh -R 6900:127.0.0.1:5900 user@127.0.0.1

3. OpenSSH as Client on Windows:
ssh -L 5900:127.0.0.1:6900 user@LinuxSystemIP

4. VNCClient on Windows: VNCClient.exe 127.0.0.1:5900
configured to connect to 127.0.0.1 on port 5900

--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[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 [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3333

Damien Miller <djm@mindrot.org> changed:

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

--- Comment #2 from Damien Miller <djm@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@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@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[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 [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3333

Darren Tucker <dtucker@dtucker.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker@dtucker.net

--- Comment #3 from Darren Tucker <dtucker@dtucker.net> ---
(In reply to PavanKumar K Arakere from comment #1)
> 2. OpenSSH as Server on LinuxSystem:
> ssh -R 6900:127.0.0.1:5900 user@127.0.0.1

This step in unnecessary.

> 3. OpenSSH as Client on Windows:
> ssh -L 5900:127.0.0.1:6900 user@LinuxSystemIP

You want this instead:
$ ssh -L 5900:127.0.0.1:5900 user@LinuxSystemIP

Note that some vncviewer implmentations have ssh port forwarding
integrated with the "-via" flag. If you have one of those you can
replace steps 2-4 with:

$ vncviewer -via user@LinuxSystemIP 127.0.0.1

--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs