Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: which version Net::SSh::Perl support multiplecmd calls

by veeruch (Sexton)
on Jul 22, 2006 at 15:49 UTC ( #563024=note: print w/ replies, xml ) Need Help??


in reply to Re: which version Net::SSh::Perl support multiplecmd calls
in thread which version Net::SSh::Perl support multiplecmd calls

exactly wht u told right,I have given code.

ssh->cmd("cd /test"); ssh->cmd("ls -lrt");
it not showing previous command test directory files it is showing my directory files.
is it happend in all the versions of Net::SSH::Perl.in windows (activestate perl)
i couldn't understand ,how to use shell method running in multiple cmds in one instance ..can u explain briefly
i saw document in that they specied ...
use Term::ReadKey; ReadMode('raw'); $ssh->shell; ReadMode('restore');
i tryed like this it is opening shell but not doing any thing and more over out close this shell...


Comment on Re^2: which version Net::SSh::Perl support multiplecmd calls
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://563024]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2015-07-05 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls