Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > SSH

Reply
 
 
zaid.affendi@gmail.com
Guest
Posts: n/a
 
      03-30-2006
why when i try to run SSH perl script, i got this error.

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

my script is like this
use Net::SSH::W32Perl;


my $host = 'xxx.xx.xx.xxx';
my $ssh = Net::SSH:erl->new("host", options => [
"BatchMode yes", "RhostsAuthentication no" ]);
$ssh->login('user', 'password');
my ($out, $err, $exit) = $ssh->cmd('cat', 'Hello Net::SSH::W32Perl
User!');

can anyone give me an advice??

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
net/ssh in ruby. ssh.exec fails salamond Ruby 0 02-17-2011 03:16 AM
NET:SSH fails authentification with :keys - ssh works Tench Johnson Ruby 1 04-23-2010 12:11 AM
python ssh and Tetia SSH server loial Python 0 02-10-2009 01:06 PM
Python ssh with SSH Tectia server loial Python 0 02-03-2009 03:38 PM
SSH Module: Accessing CLI box using SSH and not getting the return output?? Deepika Perl Misc 2 11-14-2006 04:48 AM



Advertisments