[Fwd: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32]

[Fwd: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32]

am 13.06.2008 16:01:19 von listmail

Just an update.

Some debugging that I've done shown that my ssh connection was actually
hung and looping between $ssh->client_loop and $ssh->drain_outgoing and
never exiting . My assumption was wrong with how things had been fixed
up. I seen many Google hits on this problem and allot of the fixes were
older and stating to use the soulcage repo!

After many hours I made a copy of my working installations'
site/lib/Net/SSH folder and pasted into a fresh perl install and then
installed the Crypt modules and other dependencies from uwinnipeg.ca.
Not the most ideal solution, but performance is good. If I don't get
any solution for the existing packages I'll probably end up doing diffs
on the files between two site folders and see if I can create a fix.


-------- Original Message --------
Subject: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32
Date: Fri, 13 Jun 2008 00:59:29 -0500
From: listmail
To: activeperl@listserv.ActiveState.com



I've been using Net::SSH::W32perl 0.06 originally provided by a repo on
http://www.soulcage.net/ (Scott Scecina) for a few years now. And my
install still works great. Unfortunately this site is down and I can no
longer find that specific version and dependencies. I believe Scott had
hacked some parts of that package or any of its dependencies so as to
make it work without Math::BigInt::GMP but not falling back to the
slowest math libs. Without fast math routines using Net::SSH::Perl is
incredibly slow (10 minutes or more to connect).

A couple years back I solved this problem on Solaris by building against
libgmp, but I haven't created a working solution on Windows using a
clean development machine. This concerns me since I have applications
in production which rely on the continue development and availability of
this functionality. I've been testing the packages provided at
http://theory.uwinnipeg.ca/ppms/ with no luck on the performance issue
so far. I will be testing against Net::SSH:Perl v1.23 (instead of 1.30)
next.

If anyone has any tips or suggestions, I would appreciate it.
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: [Fwd: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32]

am 16.06.2008 19:37:36 von Michael Ellery

I've been trying to use Net::SFTP recently, without luck. When I try to
execute a simple fetch with code like:

use strict;
use Net::SFTP;

my $scp = new Net::SFTP(
'SOMEHOST',
user => 'SOMEUSER',
password => 'SOMEPASS',
) or die "Unable to create host connection";

my @list = $scp->ls('/tmp');
print "HERE IS /tmp\n:";
map {print "\t$_\n";} @list;
my $stat = $scp->get('/tmp/InstalledDB', 'c:/s2/InstalledDB');
print "get status is $stat\n";


....I get the error:

The getpwuid function is unimplemented at
C:/Perl/site/lib/Net/SSH/Perl.pm line 110.

I know it can be pretty difficult getting SSH related packages working
on Win32. Can anyone out there summarize the steps required to make
this stuff work? I've seen various references to packages supplied at
soulcage.net, but I think that site has fallen away. Any advice is
appreciated. I'm using perl 5.8.8, BTW.

Thanks,
Mike Ellery

listmail wrote:
> Just an update.
>
> Some debugging that I've done shown that my ssh connection was actually
> hung and looping between $ssh->client_loop and $ssh->drain_outgoing and
> never exiting . My assumption was wrong with how things had been fixed
> up. I seen many Google hits on this problem and allot of the fixes were
> older and stating to use the soulcage repo!
>
> After many hours I made a copy of my working installations'
> site/lib/Net/SSH folder and pasted into a fresh perl install and then
> installed the Crypt modules and other dependencies from uwinnipeg.ca.
> Not the most ideal solution, but performance is good. If I don't get
> any solution for the existing packages I'll probably end up doing diffs
> on the files between two site folders and see if I can create a fix.
>
>
> -------- Original Message --------
> Subject: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32
> Date: Fri, 13 Jun 2008 00:59:29 -0500
> From: listmail
> To: activeperl@listserv.ActiveState.com
>
>
>
> I've been using Net::SSH::W32perl 0.06 originally provided by a repo on
> http://www.soulcage.net/ (Scott Scecina) for a few years now. And my
> install still works great. Unfortunately this site is down and I can no
> longer find that specific version and dependencies. I believe Scott had
> hacked some parts of that package or any of its dependencies so as to
> make it work without Math::BigInt::GMP but not falling back to the
> slowest math libs. Without fast math routines using Net::SSH::Perl is
> incredibly slow (10 minutes or more to connect).
>
> A couple years back I solved this problem on Solaris by building against
> libgmp, but I haven't created a working solution on Windows using a
> clean development machine. This concerns me since I have applications
> in production which rely on the continue development and availability of
> this functionality. I've been testing the packages provided at
> http://theory.uwinnipeg.ca/ppms/ with no luck on the performance issue
> so far. I will be testing against Net::SSH:Perl v1.23 (instead of 1.30)
> next.
>
> If anyone has any tips or suggestions, I would appreciate it.
> _______________________________________________
> ActivePerl mailing list
> ActivePerl@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
>
> _______________________________________________
> ActivePerl mailing list
> ActivePerl@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
>


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: [Fwd: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32]

am 16.06.2008 19:48:08 von Jenda Krynicky

From: Michael Ellery
> I've been trying to use Net::SFTP recently, without luck. When I try to
> execute a simple fetch with code like:
>
> use strict;
> use Net::SFTP;
>
> my $scp = new Net::SFTP(
> 'SOMEHOST',
> user => 'SOMEUSER',
> password => 'SOMEPASS',
> ) or die "Unable to create host connection";
>
> my @list = $scp->ls('/tmp');
> print "HERE IS /tmp\n:";
> map {print "\t$_\n";} @list;
> my $stat = $scp->get('/tmp/InstalledDB', 'c:/s2/InstalledDB');
> print "get status is $stat\n";
>
>
> ...I get the error:
>
> The getpwuid function is unimplemented at
> C:/Perl/site/lib/Net/SSH/Perl.pm line 110.

Net::SSH2 works fine for me under Windows.

Jenda
===== Jenda@Krynicky.cz === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: [Fwd: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32]

am 16.06.2008 23:57:18 von Michael Ellery

Jenda Krynicky wrote:

>
> Net::SSH2 works fine for me under Windows.
>

...and sure enough, it does! Who knew it could be so easy. Thanks.

-Mike


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: [Fwd: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32]

am 17.06.2008 15:38:27 von listmail

Jenda Krynicky wrote:
> From: Michael Ellery
>
>> I've been trying to use Net::SFTP recently, without luck. When I try to
>> execute a simple fetch with code like:
>>
>> use strict;
>> use Net::SFTP;
>>
>> my $scp = new Net::SFTP(
>> 'SOMEHOST',
>> user => 'SOMEUSER',
>> password => 'SOMEPASS',
>> ) or die "Unable to create host connection";
>>
>> my @list = $scp->ls('/tmp');
>> print "HERE IS /tmp\n:";
>> map {print "\t$_\n";} @list;
>> my $stat = $scp->get('/tmp/InstalledDB', 'c:/s2/InstalledDB');
>> print "get status is $stat\n";
>>
>>
>> ...I get the error:
>>
>> The getpwuid function is unimplemented at
>> C:/Perl/site/lib/Net/SSH/Perl.pm line 110.
>>
>
> Net::SSH2 works fine for me under Windows.
>
> Jenda
> ===== Jenda@Krynicky.cz === http://Jenda.Krynicky.cz =====
> When it comes to wine, women and song, wizards are allowed
> to get drunk and croon as much as they like.
> -- Terry Pratchett in Sourcery
>
> _______________________________________________
> ActivePerl mailing list
> ActivePerl@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
This doesn't show up in 5.8.820 repo is there another repo that has it
or did you build libssh2 and its dependancies manually. I don't usually
build on Windows so I'm not sure what to do about the "./configure" part.

Thanks.

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: [Fwd: Net::SSH::W32perl /Net:SSH::Perl on activeperl win32]

am 17.06.2008 16:19:24 von Brian Raven

listmail <> wrote:
> Jenda Krynicky wrote:
>> From: Michael Ellery
>> =

>>> I've been trying to use Net::SFTP recently, without luck. When I
>>> try to execute a simple fetch with code like:
>>> =

>>> use strict;
>>> use Net::SFTP;
>>> =

>>> my $scp =3D new Net::SFTP(
>>> 'SOMEHOST',
>>> user =3D> 'SOMEUSER',
>>> password =3D> 'SOMEPASS',
>>> ) or die "Unable to create host connection";
>>> =

>>> my @list =3D $scp->ls('/tmp');
>>> print "HERE IS /tmp\n:";
>>> map {print "\t$_\n";} @list;
>>> my $stat =3D $scp->get('/tmp/InstalledDB', 'c:/s2/InstalledDB');
>>> print "get status is $stat\n"; =

>>> =

>>> =

>>> ...I get the error:
>>> =

>>> The getpwuid function is unimplemented at
>>> C:/Perl/site/lib/Net/SSH/Perl.pm line 110.
>>> =

>> =

>> Net::SSH2 works fine for me under Windows.
>> =

>> Jenda
>> =====3D Jenda@Krynicky.cz ===3D http://Jenda.Krynicky.cz =3D=
==== When it
>> comes to wine, women and song, wizards are allowed to get drunk and
>> croon as much as they like. -- Terry Pratchett in Sourcery
>> =

>> _______________________________________________
>> ActivePerl mailing list
>> ActivePerl@listserv.ActiveState.com
>> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>> =

> This doesn't show up in 5.8.820 repo is there another repo that has
> it or did you build libssh2 and its dependancies manually. I don't
> usually build on Windows so I'm not sure what to do about the
> "./configure" part. =


It seems to be here:

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

HTH

-- =

Brian Raven =


==================== =====3D=
================
Atos Euronext Market Solutions Disclaimer
==================== =====3D=
================

The information contained in this e-mail is confidential and solely for the=
intended addressee(s). Unauthorised reproduction, disclosure, modification=
, and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediat=
ely and delete it from your system. The views expressed in this message do =
not necessarily reflect those of Atos Euronext Market Solutions.

Atos Euronext Market Solutions Limited - Registered in England & Wales with=
registration no. 3962327. Registered office address at 25 Bank Street Lon=
don E14 5NQ United Kingdom. =

Atos Euronext Market Solutions SAS - Registered in France with registration=
no. 425 100 294. Registered office address at 6/8 Boulevard Haussmann 750=
09 Paris France.

L'information contenue dans cet e-mail est confidentielle et uniquement des=
tinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Tou=
te copie, publication ou diffusion de cet email est interdite. Si cet e-mai=
l vous parvient par erreur, nous vous prions de bien vouloir prevenir l'exp=
editeur immediatement et d'effacer le e-mail et annexes jointes de votre sy=
steme. Le contenu de ce message electronique ne represente pas necessaireme=
nt la position ou le point de vue d'Atos Euronext Market Solutions.
Atos Euronext Market Solutions Limited Soci=E9t=E9 de droit anglais, enregi=
str=E9e au Royaume Uni sous le num=E9ro 3962327, dont le si=E8ge social se =
situe 25 Bank Street E14 5NQ Londres Royaume Uni.

Atos Euronext Market Solutions SAS, soci=E9t=E9 par actions simplifi=E9e, e=
nregistr=E9 au registre dui commerce et des soci=E9t=E9s sous le num=E9ro 4=
25 100 294 RCS Paris et dont le si=E8ge social se situe 6/8 Boulevard Hauss=
mann 75009 Paris France.
==================== =====3D=
================

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs