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
> --
>
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();
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