Hello Sombrerero_loco,

I have a few questions/suggestions:

First of all did you install it like this?

tar zxf Net-OpenSSH-0.70.tar.gz cd Net-OpenSSH-0.70 perl Makefile.PL make make test make install

If so, when you run make test the problem is coming? What is the OS on "HPUX box", WindowsOS, LinuxOS?

I am running LinuxOS and for testing purposes I installed manually the Net-OpenSSH-0.74.tar.gz and it worked just fine.

Sample of installation output:

thanos@1983:~/Downloads$ tar zxf Net-OpenSSH-0.74.tar.gz thanos@1983:~/Downloads$ cd Net-OpenSSH-0.74 thanos@1983:~/Downloads/Net-OpenSSH-0.74$ perl Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::OpenSSH Writing MYMETA.yml and MYMETA.json thanos@1983:~/Downloads/Net-OpenSSH-0.74$ make cp lib/Net/OpenSSH/ObjectRemote.pm blib/lib/Net/OpenSSH/ObjectRemote.p +m cp lib/Net/OpenSSH/ShellQuoter/csh.pm blib/lib/Net/OpenSSH/ShellQuoter +/csh.pm cp lib/Net/OpenSSH/ConnectionCache.pm blib/lib/Net/OpenSSH/ConnectionC +ache.pm cp lib/Net/OpenSSH/Constants.pm blib/lib/Net/OpenSSH/Constants.pm cp lib/Net/OpenSSH/ShellQuoter/POSIX.pm blib/lib/Net/OpenSSH/ShellQuot +er/POSIX.pm cp lib/Net/OpenSSH/OSTracer.pm blib/lib/Net/OpenSSH/OSTracer.pm cp lib/Net/OpenSSH/SSH.pm blib/lib/Net/OpenSSH/SSH.pm cp lib/Net/OpenSSH/ShellQuoter/MSWin.pm blib/lib/Net/OpenSSH/ShellQuot +er/MSWin.pm cp lib/Net/OpenSSH/ShellQuoter/fish.pm blib/lib/Net/OpenSSH/ShellQuote +r/fish.pm cp lib/Net/OpenSSH/ModuleLoader.pm blib/lib/Net/OpenSSH/ModuleLoader.p +m cp lib/Net/OpenSSH/ShellQuoter/Chain.pm blib/lib/Net/OpenSSH/ShellQuot +er/Chain.pm cp lib/Net/OpenSSH/ShellQuoter.pm blib/lib/Net/OpenSSH/ShellQuoter.pm cp lib/Net/OpenSSH/ShellQuoter/MSCmd.pm blib/lib/Net/OpenSSH/ShellQuot +er/MSCmd.pm cp lib/Net/OpenSSH.pm blib/lib/Net/OpenSSH.pm Manifying 7 pod documents thanos@1983:~/Downloads/Net-OpenSSH-0.74$ make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::H +arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/l +ib', 'blib/arch')" t/*.t t/1_run.t .... # # SSH client found: OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 + Mar 2016. # Trying to connect to localhost, timeout is 15s. ssh: connect to host localhost port 22: Connection refused t/1_run.t .... skipped: Unable to establish SSH connection to localhos +t! t/quoting.t .. # unable to exec csh -c echo good # unable to exec tcsh -c echo good # unable to exec ksh -c echo good # unable to exec ash -c echo good # unable to exec pdksh -c echo good # unable to exec mksh -c echo good # unable to exec zsh -c echo good # unable to exec fish -c echo good # running tests for shells sh bash dash t/quoting.t .. ok t/uri.t ...... ok All tests successful. Files=3, Tests=628, 1 wallclock secs ( 0.10 usr 0.00 sys + 0.34 cus +r 0.19 csys = 0.63 CPU) Result: PASS thanos@1983:~/Downloads/Net-OpenSSH-0.74$ make install Manifying 7 pod documents Appending installation info to /home/thanos/perl5/lib/perl5/x86_64-lin +ux-gnu-thread-multi/perllocal.pod

Why you download version 0.70, when the latest is 0.74?

Check Net::OpenSSH for the latest version. There is a reason that the developer is been updating the module.

Please use <readmore></readmore> tags to make the stderr output smaller when you post huge parts of code of stdout.

Update: also check the A Guide to Installing Modules form Perl Monks guide.

Update2: adding module manual installation output.

Seeking for Perl wisdom...on the process of learning...not there...yet!

In reply to Re: Problem installing Net:OpenSSH on Hp-UX B11.31 by thanos1983
in thread Problem installing Net:OpenSSH on Hp-UX B11.31 by Sombrerero_loco

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.