EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Shell Command

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#10394
Posted: 06/16/2009 06:14:02
by wagih emil (Basic support level)
Joined: 03/03/2009
Posts: 22

Hi i would like to know how can i detect the command sent by the client to server
#10395
Posted: 06/16/2009 06:34:33
by Eugene Mayevski (EldoS Corp.)

Are you talking about SSH or something else? Please be more descriptive in your question


Sincerely yours
Eugene Mayevski
#10396
Posted: 06/16/2009 06:36:53
by wagih emil (Basic support level)
Joined: 03/03/2009
Posts: 22

yes i`m talking about ssh and i want to detect the command sent by the client to the server,
where i can find this event in the code
Thanks.
#10398
Posted: 06/16/2009 06:57:48
by Eugene Mayevski (EldoS Corp.)

You need to handle shell subsystem. Sample subsystem handler class is TElShellSSHSubsystemHandler but it works only on .NET desktop and in VCL edition. Also it doesn't produce any telnet sequences to control screen representation.


Sincerely yours
Eugene Mayevski
#10399
Posted: 06/16/2009 07:18:37
by wagih emil (Basic support level)
Joined: 03/03/2009
Posts: 22

is there any way to get the sent command at the server without going to TElShellSSHSubsystemHandler cause i`m working on .NET CF
Thanks.
#10400
Posted: 06/16/2009 08:51:39
by Eugene Mayevski (EldoS Corp.)

As said, you can implement your custom handler class for this subsystem, and get the command and execute it the way you like. Your handler will get the command.


Sincerely yours
Eugene Mayevski
#10401
Posted: 06/16/2009 09:05:11
by wagih emil (Basic support level)
Joined: 03/03/2009
Posts: 22

okay, so is there any way to send data from client to the server without going on the subsystem solution.
#10402
Posted: 06/16/2009 09:07:41
by Eugene Mayevski (EldoS Corp.)

No. SSH is based on subsystems.


Sincerely yours
Eugene Mayevski
#10404
Posted: 06/16/2009 15:02:31
by wagih emil (Basic support level)
Joined: 03/03/2009
Posts: 22

okay ,let me be clear all what i want is to send data from the client to the server over the ssh connection so,is that can be done.
Thanks.
#10406
Posted: 06/17/2009 00:57:48
by Eugene Mayevski (EldoS Corp.)

The best approach is to use custom subsystem of SSH. Both client and server SSH components support custom subsystem so that's what you can use.

On the other hand, is there a particular reason to tunnel the data over SSH and not TLS? With TLS you can also have self-signed certificates and TLS is more sophisticated technology for secure layer, than SSH (while SSH has its strengths in other aspects and uses).


Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.

Reply

Statistics

Topic viewed 1825 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!