Solved

SSH (or SSH2)

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
perl script help 5 233
perl search and replace 6 165
perl to display a matrix report for 3-dimenional array 3 64
Perl Write to Specific line in a file 15 76
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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 Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

862 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

25 Experts available now in Live!

Get 1:1 Help Now