I'm having a good time using the NET::SSH::PERL under linux, but when I have to do the same thing under WinXP with ActivePerl, I had the worst time of my life.

It appears thar to install the NET::SSH::PERL you'll need to install IO::PTY in advance which dose not support windows actually. But there is a way out, that is using Cygwin, so I installed the Cygwin, and installed the NET::SSH::PERL successfully of course, but when I opened the cmd, and typed "perl myTest.pl", I got the error message like "Can not locate the net/ssh/except.pm......".

Oh my .., so here is what I want know:.

1. How to mount the Cygwin to make sure that when I am using the activeperl, it can successfully locate the pm that installed under the cygwin directory?

2. Is there any easier way to make it possible to use the ssh with acticveperl (I also tried OpenSSH, but I still need to use the Expect.pm, which means I have to install the Cygwin again...)

Thanks for any answer in advance^_^


In reply to Using NET::SSH::PERL under Windows (with ActivePerl) by Anonymous Monk

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.