Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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^_^
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using NET::SSH::PERL under Windows (with ActivePerl)
by salva (Canon) on Jul 14, 2010 at 06:34 UTC | |
by Anonymous Monk on Jul 14, 2010 at 07:31 UTC | |
by salva (Canon) on Jul 14, 2010 at 07:50 UTC | |
|
Re: Using NET::SSH::PERL under Windows (with ActivePerl)
by Khen1950fx (Canon) on Jul 14, 2010 at 06:29 UTC | |
by Anonymous Monk on Jul 14, 2010 at 07:29 UTC | |
by Khen1950fx (Canon) on Jul 14, 2010 at 08:14 UTC | |
|
Re: Using NET::SSH::PERL under Windows (with ActivePerl)
by dk (Chaplain) on Jul 14, 2010 at 09:11 UTC |