Re: no output Net::SSH2

2008-11-21 Thread Chas. Owens
On Thu, Nov 20, 2008 at 15:09, monnappa appaiah <[EMAIL PROTECTED]> wrote: > Hi, > > As per you suggestion i removed the last line of the code and the > replaced with the code, now the code looks like this > -- >

Re: no output Net::SSH2

2008-11-20 Thread monnappa appaiah
Hi, As per you suggestion i removed the last line of the code and the replaced with the code, now the code looks like this -- #!/usr/bin/perl -w use strict; use Net::SSH2; my $ssh2 = Net::SSH2->new();

Re: no output Net::SSH2

2008-11-20 Thread sisyphus
Monnappa Appaiah wrote: . . > > 1) > > #!/usr/bin/perl -w > use strict; > use Net::SSH2; > > my $ssh2 = Net::SSH2->new(); > $ssh2->connect('sys5') or die "Unable to connect host $@ \n"; > $ssh2->auth_password('xyz','my