i need to ssh to remote server using Perl
- From: vish.chitnis@xxxxxxxxx
- Date: 11 Sep 2006 06:25:23 -0700
i am trying to connect to remote machine using Perl..here is wht i have
found..in the net
use Net::SSH::Perl;
my $ssh = Net::SSH::Perl->new($host);
$ssh->login($user, $pass);
my($stdout, $stderr, $exit) = $ssh->cmd($cmd);
when i give my hostname and other details, the compilation error i get
is
Can't locate Net/SSH/Perl.pm in @INC (@INC contains: c:/Perl/lib
c:/Perl/site/li
b .) at sshperl.pl line 1.
BEGIN failed--compilation aborted at sshperl.pl line 1.
whether i need to install any module for this
thanks
vish
.
- Follow-Ups:
- Re: i need to ssh to remote server using Perl
- From: Paul Lalli
- Re: i need to ssh to remote server using Perl
- From: Binod Pant
- Re: i need to ssh to remote server using Perl
- Prev by Date: Re: need to clear cookies in IE using perl Win 32 IE automation
- Next by Date: Re: i need to ssh to remote server using Perl
- Previous by thread: FAQ 9.17 How do I check a valid mail address?
- Next by thread: Re: i need to ssh to remote server using Perl
- Index(es):
Relevant Pages
|