SSH – Multiple Commands w/out Reconnect


Question:

Hi, I’m evaluating Chilkat C++ SSH Library for My VC 9.0 Projects.
I have a question: Your examples send only one command.
I want to send several commands without reconnect.
I experimented and found SendReqShell handles multiple commands execution, not SendReqExec.
Can I have a more detailed sample about this?

Answer:
You may call SendReqExec multiple times on the same open channel.

Tags :