Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Need Help on Net::SSH2 Module Usage on Windows

by Khen1950fx (Canon)
on Aug 17, 2012 at 02:57 UTC ( #987905=note: print w/replies, xml ) Need Help??


in reply to Need Help on Net::SSH2 Module Usage on Windows

First, make sure that you're correctly set up. Net::SSH2 requires libssh2 for Windows, and it has a long list of dependencies:
#!/usr/bin/perl use strict; use autodie; use warnings; use CPAN; CPAN::Shell->install( qw( IO::Scalar ExtUtils::Constant Encode ExtUtils::ParseXS Pod::Usage Getopt::Long Text::ParseWords Module::CoreList Module::Load Module::Load::Conditional Params::Check Locale::Maketext::Simple IPC::Cmd ExtUtils::CBuilder ExtUtils::Manifest Perl::OSType CPAN::Meta::Requirements CPAN::Meta::YAML JSON::PP Parse::CPAN::Meta CPAN::Meta ExtUtils::Install File::Temp version IO::File Module::Metadata Module::Build constant Text::Wrap Pod::Escapes Pod::Simple Pod::Man Test Exporter Carp File::Path Test::Harness Test::More Scalar::Util File::Spec ExtUtils::MakeMaker Net::SSH2));

Net::SSH2::Channel goes into more detail about what the channel is and does. Read that thoroughly. It'll help.

For more details about "exec", you can do perl -f exec for more info.

See: libssh2.org for more info.

Replies are listed 'Best First'.
Re^2: Need Help on Net::SSH2 Module Usage on Windows
by tarunmudgal4u (Sexton) on Aug 17, 2012 at 13:00 UTC

    Hi, I looked into Net::SSH2::Channel documentation and it's also just one liner description of all the methods used there.However, I've read about exec.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987905]
help
Chatterbox?
LanX starts googling the punch line ...
[choroba]: suddenly, a weird noise can be heard, and the conductor stops them
[choroba]: (sorry, was interrupted by a call)
[choroba]: What was that? asks he
[choroba]: and the triangle player says, "That was me. It's written here in the score"
[choroba]: and shows a bar with a note "ohne Triangel"
[choroba]: where "ohne" means "will bend" in Czech
[LanX]: one-day-the- triangle-player-of -an-orchestra-gets -very-sick xD
[choroba]: :)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2017-03-27 11:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (319 votes). Check out past polls.