in reply to
Net::SSH2 related query
Cannot test that at the moment, but the write to the channel should need a trailing newline. so
... $chan->write("ls\n"); ...
[download]
Also see here:
A little demo for Net::SSH2
Comment on
Re: Net::SSH2 related query
Download
Code
In Section
Seekers of Perl Wisdom