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. Advertisements

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. blob

    Net::SSH::Perl Help

    blob, Sep 5, 2003, in forum: Perl
    Replies:
    0
    Views:
    1,736
  2. loial
    Replies:
    0
    Views:
    626
    loial
    Feb 3, 2009
  3. loial
    Replies:
    0
    Views:
    574
    loial
    Feb 10, 2009
  4. Tench Johnson
    Replies:
    1
    Views:
    510
    Biff Tannen
    Apr 23, 2010
  5. salamond

    net/ssh in ruby. ssh.exec fails

    salamond, Feb 17, 2011, in forum: Ruby
    Replies:
    0
    Views:
    485
    salamond
    Feb 17, 2011
  6. Deepika
    Replies:
    2
    Views:
    420
    Deepika
    Nov 14, 2006
  7. jammer

    ssh ssh

    jammer, Mar 27, 2008, in forum: Perl Misc
    Replies:
    4
    Views:
    339
    Peter J. Holzer
    Mar 30, 2008
  8. Replies:
    0
    Views:
    451
Loading...