Solved

SSH (or SSH2)

Posted on 2004-08-24
6
848 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
Comment Utility
Try 'ppm install net-ssh' at the command prompt and see where that gets you.
0
 

Author Comment

by:InGearX
Comment Utility
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
Comment Utility
with no reply from op regarding my advice, I could not advise further...
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
cpan issue 1 55
Search in text file in column and compare 4 42
use google analytics code in perl script 2 56
Perl string filter 5 61
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
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…
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 video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now