in reply to Re: How do I send a password to a command I start with Perl's Expect.pm
in thread How do I send a password to a command I start with Perl's Expect.pm

*) I don't have root permission, off course it needs privilege permission beyond a simple user.
*) This server don't have access to internet so (cpanm,local::lib,perlbrew) and installing Net::SSH::Expect isn't possible.
  • Comment on Re^2: How do I send a password to a command I start with Perl's Expect.pm

Replies are listed 'Best First'.
Re^3: How do I send a password to a command I start with Perl's Expect.pm
by ikegami (Patriarch) on Oct 24, 2010 at 08:34 UTC

    off course it needs privilege permission beyond a simple user.

    Simple users can install modules. Like I said, you don't need special permissions to install a module. You can install modules into any directory.

    This server don't have access to internet

    Whatever means you use to place your script on the server can also be used to place the script known as the Net::SSH::Expect module.