EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Multi-Port Forwarding

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#23594
Posted: 02/21/2013 13:05:19
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

Can SecureBlackBox handle multi forwarding port over one SSH Connection.
#23595
Posted: 02/21/2013 13:13:53
by Ken Ivanov (EldoS Corp.)

Yes, it can.
#23596
Posted: 02/21/2013 13:20:26
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

how can I create one connection and forward multiple port threw it.
#23597
Posted: 02/21/2013 13:28:00
by Ken Ivanov (EldoS Corp.)

Use AddTunnel() method and Tunnels[] property of a simple forwarding class (either TElSSHLocalPortForwarding or TElSSHRemotePortForwarding, depending on the type of forwarding you wish to set up) to configure what ports should be forwarded and where. Then call Open() to make the component connect to SSH server and arrange tunneling.

I suggest that you have a look at our simple forwarding samples included to the product distribution.
#23598
Posted: 02/21/2013 13:39:38
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

How Come the demo does show that you need
secureblackbox
secureblackboxsshclient
secureblackboxcommon
#23599
Posted: 02/21/2013 13:47:50
by Ken Ivanov (EldoS Corp.)

I guess the Visual Studio IDE just can't find the referenced assemblies (it happens sometimes). Please try to add them manually. By default, the assemblies are installed to %PROGRAMFILES%\EldoS\SecureBlackbox.NET\Assemblies\%PLATFORM%\.
#23600
Posted: 02/21/2013 13:50:29
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

I am using the NET2.0 Libraries the warning that I get is:

"SecureBlackBox.dll", or one of its dependencies, require a later version of the .NET Framework than the one specified in the project.
You can change the .Net Framework target by clicking Properties on the Project menu and then selecting a new target in the '.NET Framework' dropdown box. (In Visual Basic, This is located on the compile tab by clicking the "Advanced Compiler Options....."button)
Do You Still want to add a reference to "SecureBlackbox.dll" in your project

I have received the same warning for SecureBlackBox.SSHClient.dll and SecureBlackBox.SSHCommon.dll
#23601
Posted: 02/21/2013 13:54:19
by Ken Ivanov (EldoS Corp.)

1) What version of Visual Studio .NET are you using?

2) Please ensure that you are picking assemblies from the correct directory. There are as many as a dozen assembly sets targeting different platforms so please be careful to select assemblies from the right set.
#23602
Posted: 02/21/2013 13:54:29
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

From the way it look you are creating a new SSH connection for each forwarded port.

I need ONE SSH Connection with more then one port forwarded threw that same connection.
#23603
Posted: 02/21/2013 14:02:28
by Carlton  (Basic support level)
Joined: 02/21/2013
Posts: 45

I am using VS 2010 SP1
Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.

Reply

Statistics

Topic viewed 13850 times

Number of guests: 2, 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!