Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Net::SSH::Perl doesn't execute commands

by Khen1950fx (Canon)
on Jun 09, 2010 at 04:42 UTC ( #843807=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ssh->cmd("show 1b vserver $csvserver");
    
  2. or download this
    $ssh->cmd("ls /path/to/csvserver");
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    
    my ( $stdout, $stderr, $exit ) = $ssh->cmd($cmd);
    print "$stdout\n";
    
  4. or download this
    
    #!/usr/bin/perl
    ...
    
    close LBVSERVERS;
    close CSVSERVERS;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2016-06-28 17:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (359 votes). Check out past polls.