in reply to why single channel is not supporting multiple cmds in NET::SSH::PERL

This question again?

From the docs:

NOTE: the SSH-1 protocol does not support running multiple commands per connection, unless those commands are chained together so that the remote shell can evaluate them. Because of this, a new socket connection is created each time you call cmd, and disposed of afterwards.

I suggest you run a single shell script with all your commands instead.

  • Comment on Re: why single channel is not supporting multiple cmds in NET::SSH::PERL