Communication scSSHServer <-> scSSHClient

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
thomas@ITF
Posts: 2
Joined: Mon 26 Feb 2018 21:06

Communication scSSHServer <-> scSSHClient

Post by thomas@ITF » Mon 26 Feb 2018 21:16

I am using scSSHServer and scSSH Client to build some channel.
But before that I would like to negotiate the remoteports for the channels on Server side.

I am looking for a way to send a command from client to server and get an answer
back, like using a winsock.

I have tried scSSHShell but only after connect the server retrieved an OnDataFromClient-Event.
If I try to send data with scSSHShell.writestring / writebuffer nothing arrived at the scSSHServer.

What could I've done wrong ?. Is that possible at all ?

Thanks for your help.

Thomas

thomas@ITF
Posts: 2
Joined: Mon 26 Feb 2018 21:06

Re: Communication scSSHServer <-> scSSHClient

Post by thomas@ITF » Tue 27 Feb 2018 09:24

Dear all,

found the solution by myself using an channel with direct set to TRUE.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Communication scSSHServer <-> scSSHClient

Post by ViktorV » Tue 27 Feb 2018 10:30

You have found a correct solution for the situation by setting the Direct property to True.
Feel free to contact us if you have any further questions about our products.

Post Reply