SSH

Discussion in 'Perl Misc' started by zaid.affendi@gmail.com, Mar 30, 2006.

  1. Guest

    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::perl->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??
     
    , Mar 30, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. loial
    Replies:
    0
    Views:
    422
    loial
    Feb 3, 2009
  2. loial
    Replies:
    0
    Views:
    416
    loial
    Feb 10, 2009
  3. Tench Johnson
    Replies:
    1
    Views:
    311
    Biff Tannen
    Apr 23, 2010
  4. salamond

    net/ssh in ruby. ssh.exec fails

    salamond, Feb 17, 2011, in forum: Ruby
    Replies:
    0
    Views:
    265
    salamond
    Feb 17, 2011
  5. Deepika
    Replies:
    2
    Views:
    221
    Deepika
    Nov 14, 2006
Loading...

Share This Page