Subject: Executing commands for channel

Executing commands for channel

From: Kishore Av <scorpionkish_at_gmail.com>
Date: Tue, 07 Jul 2015 07:41:53 +0000

Hi,

I'm new to SSH and Iibssh2 library.
I need to know how to send continuous commands to execute with remote host.
As i tried, per command for per channel can be executed.
If i create and disconnect channel per command, then i can execute
continuously.
But creating and deleting channel for continuous configurations say, 200
commands, it leads performance issue.
I need a design of creating and deleting channel at last once i execute
bulk commands.
Could anyone please help me to implement.

Thanks
Kish.

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2015-07-07