Solved

SSH (or SSH2)

Posted on 2004-08-24
6
862 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
  • 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

772 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