hi iam using NET::SSH::W32Perl
in each $ssh->cmd; call channel closing ,
if iahve senario like
$ssh->cmd("cd /home/john");
$ssh->cmd("ls -lrt ");
but it is not listing the files in John directory ..bcoz each cmd call
channel closing....
is there any way to hold the channel for doing lot of commands
please give suggestion on this
This email is confidential. If you are not the addressee tell the sender immediately and destroy this email
without using, sending or storing it. Emails are not secure and may suffer errors, viruses, delay,
interception and amendment. Standard Chartered PLC and subsidiaries ("SCGroup") do not accept liability for
damage caused by this email and may monitor email traffic.
|