Communication scSSHServer <-> scSSHClient
Posted: 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
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