First off, Thank you BrowserUK and Syphilis for trying to help me!

BrowserUK:
I tried your suggestions of modifying the source for net/ssh/perl.pm (using the environment method). It no longer complains about the function. However, it then stopped when trying to set the socket non-blocking. After doing some research, I found that you can not do that on windows. I commented out this line as well. Now the program actually runs, but does not run successfully. What happens now is that it connects up and sends the username and password pair. It never returns from when it sends the commands, just sits there and hangs forever (or at least the hour I waited for the ls command) I am not sure what to try after this but I have the same problem using Syp's suggestion.

Syphilis:
I tried your suggestion as well. Stepping through the program, it connects to the server, sends the username and password to log in, then sends the command down the socket. This has the same issue as Net::SSH::Perl after Browsers mods. It never returns from sending down the command. I do not know if the linux box can handle ssh2 but it is Red-Hat 2.4.26-1.ll.rh90.ccrmasmp SMP. Man SSH has the -s subsystem command for ssh2 but no other mention of it. Unfortunately I can not update this machine.

Any other suggestions? I really appreciate the help.


In reply to Re: un-inplemented function in Net::SSH::Perl for Activestate Perl? by wulvrine
in thread un-inplemented function in Net::SSH::Perl for Activestate Perl? by wulvrine

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.