i need to ssh to remote server using Perl



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

.



Relevant Pages

  • Re: hostname in title of gnome-terminal
    ... Is there a way to configure it so that the hostname will be the title ... be it's hostname (you can assume that I have the remote machine ... Keep Europe free from software patents, ...
    (GNOME)
  • Re: hostname in title of gnome-terminal
    ... Is there a way to configure it so that the hostname will be the title ... be it's hostname (you can assume that I have the remote machine ... Keep Europe free from software patents, ...
    (GNOME)
  • Hostname doesnt Answer
    ... Sometimes I have to access a remote machine, ... When I reboot the machine, it works normally again, hostname and all. ... Anyone know the exact problem here? ... The server OS is Windows 2000 Server. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: i need to ssh to remote server using Perl
    ... when i give my hostname and other details, the compilation error i get ... whether i need to install any module for this ... Paul Lalli ...
    (comp.lang.perl.misc)
  • Re: Another IP address question (how to get IP address of remote computer)
    ... Randy Birch ... Please respond only to the newsgroups so all can benefit. ... :> remote machine via VB 4 running on the local machine? ... How to Resolve a Hostname Into an IP Address ...
    (microsoft.public.vb.general.discussion)