Hi, Here is my code. In Cpan i have installed ssh in linux and windows still i am getting the error, Can anybody provide for opening a ssh by using perl?
#!/usr/bin/perl use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new('10.10.10.10'); $ssh->login(admin, password); my($stdout, $stderr, $exit) = $ssh->cmd($cmd); Output: Can't locate Net/SSH/Perl.pm in @INC (you may need to install the Net::SSH::Perl module) (@INC contains: C:/Perl64/site/lib C:/Perl64/lib .) at ssh.pl line 3. BEGIN failed--compilation aborted at ssh.pl line 3. -Frank