Re: [Ssh-sftp-perl-users] problems with NET::SSH::W32Perl cmds
Brought to you by:
dbrobins
|
From: David R. <dbr...@cp...> - 2006-08-02 03:09:28
|
On Tuesday August 1, 2006 10:15, Vee...@in... wrote:
> 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
No, but you can with Net::SSH2.
> please give suggestion on this
--
Dave
Isa. 40:31
|