EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Reverse SSH Tunnel question

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
Posted: 10/12/2012 05:13:44
by Thomas Andersson (Basic support level)
Joined: 10/12/2012
Posts: 3

Innokentiy Ivanov wrote:

QuoteTo me, this means I need a listener process on to accept a connection from the client process. Meanwhile, I also need a listener process on to accept the tunnelled connection from the server, and of course remote port forwarding to make that second connection succeed. Maybe I'm wrong on this point, so please correct me if I'm wrong.
That is not correct enough. As Vsevolod answered above, all the forwarding-related tasks are encapsulated in SSH protocol, so neither you need to listen on with a separate application, nor you have to open any ports on the client side. An SSH server will normally open the listening server-side port for you, and all the forwarded data will be directed through already established SSH channel.

A bad thing is that the SSH server samples shipped with the distribution do not implement server-side forwarding, leaving this task to the user. A good thing is that we extended the C# sample with the remote forwarding feature for one of our customers recently, and we are happy to send it to you so that you wouldn't have to implement it by yourselves. I'm going to create a Helpdesk ticket for you now and upload the updated sample there (as the forum doesn't accept ZIPs).


Could You please send this updated sample to me also?

Best regards,
Posted: 10/12/2012 07:38:23
by Ken Ivanov (Team)


I have just sent the sample to you via the Helpdesk.
Posted: 10/12/2012 07:52:28
by Thomas Andersson (Basic support level)
Joined: 10/12/2012
Posts: 3

Thanks :-)

I get this error "Error 3 'SBUtils.Unit' does not contain a definition for 'SBRndGenerate' UserInfo.cs 114 17 SSHServer.NET_VS2008.

Where can I find "SBRndGenerate"?

Best regards,
Posted: 10/12/2012 07:56:53
by Vsevolod Ievgiienko (Team)

SBRndGenerate was moved to SBRandom in the 10th version.
Posted: 10/12/2012 08:02:11
by Thomas Andersson (Basic support level)
Joined: 10/12/2012
Posts: 3

OK, thanks :-)
Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages



Topic viewed 4279 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!