----- Original Message -----
From: "Peter Leong" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, June 16, 2005 4:06 PM
Subject: Net::SSH::W32Perl
> Hi i All,
>
> I have written a subroutine below which I call to
> connect to a Linux machine remotely from my Windows XP
> machines with ActivePerl 5.8.6.
>
> I am wondering if anyone knows if I have connected
> successfully it says "Connection Established"
> However, I don't see my return STDOUT from my cmd
> "pwd".
>
> It hanged for a quite a while my1: channel 1: open
> confirm rwindow 0 rmax 32768
> before I terminate the program.
>
>
> sub net_ssh_w32{
>
> my %params = (protocol => '2', debug => "true");
> my $cmd = 'pwd';
> my $ssh = new Net::SSH::W32Perl($host, %params);
>
> $ssh->login("$user", "$password");
>
> my ($out, $err, $exit) = $ssh->cmd("$cmd");
>
> print "out = $out";
> }
>
[snip]
Were all of the Net::SSH::W32Perl prerequisite modules installed by ppm from
Scott Scecina's site ( http://www.soulcage.net/ppds/ ) ? Notes on that
webpage suggest that there can be problems if any of the prerequisites
(especially Net::SSH::Perl) were installed by other means.
Seems to me that, on the same webpage, Scott invites requests for
assistance - so maybe you could contact him if you don't get satisfactory
assistance here.
Other than that I can't really help much .... hopefully someone else can do
better :-)
Cheers,
Rob
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs