I am new to Perl and am running ActiveStatePerl on a Windows 7
machine.  I am trying to get SSH to work but get the error:

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

When I try to run the following script:

use Net::SSH::Perl ;

$scon = Net::SSH::Perl->new ("www.savethetrain.org.uk");
$scon->login("savethetrain","abc123");
print "looking around ...\n";
($output,$errors,$exit) = $scon->cmd("ls -l");
print $output;


This script was an example I found on the web.
I do have Net::SSH::Perl installed.

Can someone give me advice on how to get around the error?
Thanks


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to