Computing.Net > Forums > Programming > Net SSH

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Net SSH

Reply to Message Icon

Name: mongar
Date: January 3, 2006 at 12:57:50 Pacific
OS: 2000 ,xp
CPU/Ram: 215
Comment:

when i run nmake ,make or Pmake on some of the dependent module required for Net::SSH::Perl i get errors like: on module Math::GMP
" NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1' Stop "
i went to http://ppm.activestate.com/PPMPackages/zips but no easy package was found for Net::SSH::Perl .
please advice



Sponsored Link
Ads by Google

Response Number 1
Name: FishMonger
Date: January 3, 2006 at 17:45:00 Pacific
Reply:

Have you tried installing it via ppm and let the ppm handle the dependancies? It would be much easier if you did.

Here's the easy way to install it:

C:\>ppm
PPM interactive shell (2.1.6) - type 'help' for available commands.
PPM> install Net::SSH::Perl
Install package 'Net-SSH-Perl?' (y/N): y
Installing package 'Net-SSH-Perl'...
Bytes transferred: 58130
Installing C:\Perl\site\lib\auto\Math\GMP\GMP.bs
Installing C:\Perl\site\lib\auto\Math\GMP\GMP.dll
Installing C:\Perl\site\lib\auto\Math\GMP\GMP.exp
Installing C:\Perl\site\lib\auto\Math\GMP\GMP.lib
Installing C:\Perl\html\site\lib\Math\GMP.html
Files found in blib\arch: installing files in blib\lib into architecture dependent library tree
Installing C:\Perl\site\lib\auto\Math\GMP\autosplit.ix
Installing C:\Perl\site\lib\Math\GMP.pm
Writing C:\Perl\site\lib\auto\Math\GMP\.packlist


0

Response Number 2
Name: mongar
Date: January 4, 2006 at 07:29:11 Pacific
Reply:

i tried to install it via PPM but the module
isnt there look:
C:\>ppm
PPM - Programmer's Package Manager version 3.3.
Copyright (c) 2001 ActiveState Corp. All Rights Reserved.
ActiveState is a division of Sophos.

Entering interactive shell. Using Term::ReadLine::Perl as readline library.

Type 'help' to get started.

ppm> install Net::SSH::Perl
Searching for 'Net::SSH::Perl' returned no results. Try a broader search first.
ppm> install Net-SSH-Perl
Error: Package 'Net-SSH-Perl' not found. Please 'search' for it first.
ppm>

when i run a search for all the modules in ppm i cant find it either.


0

Response Number 3
Name: FishMonger
Date: January 4, 2006 at 08:32:10 Pacific
Reply:

It sounds like you may have a problem with the repository. What version of Perl do you have? I looks like you're using ppm3. Try doing a search for ssh, if you don't get something like the following, use the rep command to add the repositories.

PPM> search ssh
Packages available from http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58:
Net-SSH [0.08] Perl extension for secure shell
Net-SSH-Perl [1.29] Perl client interface to SSH
Net-SSH-W32Perl [0.05] Win32 (ActivePerl) Compatibility Layer for
Net::SSH::Perl
Packages available from http://ppm.ActiveState.com/cgibin/PPM/ppmserver-5.8-windows.pl?urn:/PPMServer:
Net-SSH [0.07] Perl extension for secure shell


0

Response Number 4
Name: mongar
Date: January 6, 2006 at 12:07:56 Pacific
Reply:

i looked at activestate.com site and its seems that there is no ppm module for now as they say and i tried all of there suggested modules.
thanks anyway unless you have other suggestion i think i will use the net:ssh module.


0

Response Number 5
Name: FishMonger
Date: January 6, 2006 at 15:50:51 Pacific
Reply:

Did you try the search command in ppm as I showed or did you just scan through activestate's web site? Activestate isn't the only place where perl modules are located. The example I gave using ppm showed that there are 3 ssh modules available that can be installed via ppm:
Net::SSH
Net::SSH::Perl
Net::SSH::W32Perl


0

Related Posts

See More



Response Number 6
Name: FishMonger
Date: January 6, 2006 at 15:53:17 Pacific
Reply:

BTW, I just completed installing all 3 of them with ppm.


0

Response Number 7
Name: FishMonger
Date: January 6, 2006 at 15:56:13 Pacific
Reply:

Also, as I previously mentioned, you need to update your list of repositories, so ppm can search other locations.


0

Response Number 8
Name: mongar
Date: January 10, 2006 at 14:10:48 Pacific
Reply:

as i looked in activestate's web site the net::ssh::perl doesnt support windows yet.
so if you did got it from another way via ppm
can you tell me which repository cause i installed like 6 repositories without any success .


0

Response Number 9
Name: vvikramraj
Date: February 6, 2006 at 10:44:47 Pacific
Reply:

http://theoryx5.uwinnipeg.ca/ppms/


0

Sponsored Link
Ads by Google
Reply to Message Icon

Gw basic awk/sed > env.variable fr...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Net SSH

Net SSH Perl www.computing.net/answers/programming/net-ssh-perl/13854.html

perl net::ssh www.computing.net/answers/programming/perl-netssh-/14236.html

Net::SSH bad packet length error www.computing.net/answers/programming/netssh-bad-packet-length-error-/17301.html