Page 1 of 1

Communication scSSHServer <-> scSSHClient

Posted: Mon 26 Feb 2018 21:16
by thomas@ITF
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

Re: Communication scSSHServer <-> scSSHClient

Posted: Tue 27 Feb 2018 09:24
by thomas@ITF
Dear all,

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

Re: Communication scSSHServer <-> scSSHClient

Posted: Tue 27 Feb 2018 10:30
by ViktorV
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.