Aug 8, 2010, 8:55 AM
Re: [nsk@perl] Getting an error while executing a prog for SSH remote server
If you have already installed the module "Crypt::DH" properly, this error should have not come. If you have installed it then files are not in correct path.
DH1.pm is different module from DH.pm
Do as written below.
Open a file lets say "filename". If you face same problem it means "Crypt::DH" is not installed and try to reinstall it. If not, it means "Crypt::DH" is installed.
write "use Crypt::DH;"
save and close the file.
then compile the file with "perl -c filename".
see line 13 of the file "/usr/lib/perl5/site_perl/5.8.8/Net/SSH/Perl/Kex/DH1.pm" has "use Crypt::DH;".
Let me know your response. I will try to help you in fixing this problem.
(This post was edited by deepeshtronics on Aug 8, 2010, 9:01 AM)