We are evaluating SBB .NET Client library to develop a custom solution involving RDP. We are setting up Remote port forwarding tunnel, and using RDP on the source port. The RDP timesout/crashes after accepting the authentication credentials. This happens only when the destination is specefied to the same machine(127.0.0.1). Is this a known issue or do you have a solution to overcome this? We are using the Samples\C#\SSHBlackBox\Client\RemotePortForwding to test this.

Yes we are using OpenSSH only. We used tools like Bitwise Tunnelier to setup remote portwarding and that works fine with Scenario A. If we try to use Putty instead of Tunnelier for Scenario A, it does not work and we are seeing similar behavior to your sample code.

I am attaching two screenshots here for yoor reference.

remportfwding_step1.png shows the initial SSH start session. The log list view tells you that the connection has been established.

remportfwding_step2.png Shows you the screenshot of the status when I RDP from 172.20.104.60 to 127.0.0.1:14200. The RDP window comes up blacks out and hangs.

We already tried to do this from Machine 1 and it did not work. Only IP that works from machine 1 is another machine IP. Can you please share the details on the scenarios you got it working. We tried this on both Win XP 32 bit and Win 7 64 bit and both giving same results. We are stuck with this for sometime now and are getting out of time in puting together a PoC. Any pointers in this regard would be of great help.

Could you please check whether the same issue occurs with simple forwarding components SecureBlackbox.NET\Samples\C#\SSHBlackbox\Client\SimplePortForwarding. Unfortunately, the samples for sophisticated components are a bit outdated and may expose some side effects.

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.