Solved

SSH (or SSH2)

Posted on 2004-08-24
6
882 Views
Last Modified: 2007-12-19
I'm using ActiveState ActivePerl 5.8 on my WinXP

I need a script for Apache that will SSH or SSH2 into a server and issue commands?

I tried using use Net::SSH and got "'ssh' is not recognized as an internal or external command, operable program or batch file."

and for
use Net::SSH::Perl;
Can't locate Net/SSH/Perl.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:\Perl\ssh3.pl line 1.
BEGIN failed--compilation aborted at C:\Perl\ssh3.pl line 1.

Not sure on how to proceed;

Any help is much appreciated; Thank you...
0
Comment
Question by:InGearX
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 5

Accepted Solution

by:
jpfx earned 158 total points
ID: 12025596
Try 'ppm install net-ssh' at the command prompt and see where that gets you.
0
 

Author Comment

by:InGearX
ID: 12213454
I tried a number of things;
I do not have the time at the moment to find the solution...
Close this thread... if you wish you can give partial points to jpfx... although I tried that long time ago...
0
 
LVL 5

Expert Comment

by:jpfx
ID: 12216166
with no reply from op regarding my advice, I could not advise further...
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question