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
Communication scSSHServer <-> scSSHClient
-
- Posts: 2
- Joined: Mon 26 Feb 2018 21:06
Re: Communication scSSHServer <-> scSSHClient
Dear all,
found the solution by myself using an channel with direct set to TRUE.
found the solution by myself using an channel with direct set to TRUE.
Re: Communication scSSHServer <-> scSSHClient
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.
Feel free to contact us if you have any further questions about our products.