Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: ssh with perl

by daxim (Chaplain)
on Sep 17, 2013 at 14:00 UTC ( #1054445=note: print w/replies, xml ) Need Help??

in reply to ssh with perl

i have installed Net ssh also

Net::SSH is not the same as Net::SSH::Perl. To make your code work, install Net::SSH::Perl.

Replies are listed 'Best First'.
Re^2: ssh with perl
by varalaxmibbnl (Acolyte) on Sep 17, 2013 at 14:07 UTC

    i have installed the foll 2lines also curl -L | perl - --sudo App::cpanminus cpanm Net::SSH::Perl then alsi i get that error

      If you still "get that error" that means that Perl cannot find the files (just like Perl says). Find out where the file Net/SSH/ lives, and correct the value of @INC so it includes the appropriate directory.

      I suspect that the installation of Net::SSH::Perl or one of its many dependencies fails on your operating system; as a result, the module actually did not get installed. To confirm this, please provide the full output of that cpanm command.
        thanks for reply... i,m still getting the same error (Can't locate Net/SSH/ in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at line 5. BEGIN failed--compilation aborted at line 5.).... plz suggest me how to install Net::SSH::Perl on ubuntu... thanks in advance
        thanks for reply can u plz suggest me how to install Net::SSH::Perl on ubuntu

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054445]
[haukex]: Discipulus: which one do you mean?

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2018-06-22 08:07 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (122 votes). Check out past polls.