Solved

SSH (or SSH2)

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Vb script to unzip a files and rename the files 12 113
Perl Frameworks 1 98
Perl Untar File 1 54
Create an automated page index 9 51
I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
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.…
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…

830 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