EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Reverse SSH Tunnel question

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#21961
Posted: 10/12/2012 05:13:44
by Thomas Andersson (Basic support level)
Joined: 10/12/2012
Posts: 3

Quote
Innokentiy Ivanov wrote:
Mike,

QuoteTo me, this means I need a listener process on 70.123.222.10:22 to accept a connection from the client process. Meanwhile, I also need a listener process on 10.1.1.10:5001 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 10.1.1.10:5001 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).


Hi,

Could You please send this updated sample to me also?

Best regards,
Thomas
#21962
Posted: 10/12/2012 07:38:23
by Ken Ivanov (EldoS Corp.)

Thomas,

I have just sent the sample to you via the Helpdesk.
#21963
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,
Thomas
#21964
Posted: 10/12/2012 07:56:53
by Vsevolod Ievgiienko (EldoS Corp.)

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

OK, thanks :-)
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.

Reply

Statistics

Topic viewed 3955 times

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




|

Back to top

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

Got it!