Hi all,

I am currently using Net::SSH::Perl module to login in my remote machine.
Below is my code:

==================================
#!/usr/bin/perl

use Net::SSH::Perl;

$user="jaws";
$pass="password";
$host="111.222.333.444";

my $ssh = Net::SSH::Perl->new($host,"'1,2'");
$ssh->login($user, $pass);
$ssh->cmd("my_command");
==================================

the output of the last line requires me to input username and password. How
can do it using this module? I've tried to search in the manual of the
package but i didn't find one to answer my question and even in the web so i
decided to ask help from you.

Thanks.

jaws

---------------
Computer system security is a journey, not a destination.




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to