Re: [Ssh-sftp-perl-users] SSH2 support for Net::SSH::Perl
Brought to you by:
dbrobins
From: Richard T. <Ric...@th...> - 2010-08-24 07:54:12
|
Hi Jeremy, Thank you very much for pointing me in the right direction, it's amazing how simple it is to get past that issue! I will now be following the advice in the following article, as I'm getting the "Channel open failure: 1: reason 4:" error: http://cpanforum.com/threads/851 Thanks again, Richard. The Logic Group Enterprises Limited. Logic House, Waterfront Business Park, Fleet Road, Fleet, Hampshire, GU51 3SB, United Kingdom. Registered in England. Registered No. 2609323 The information in this email and any attachments are confidential and may be legally privileged and protected by law. It is for the intended recipient only. If you are not the intended recipient you may not use, disclose, copy, distribute, print or rely on the content of this email or its attachments. If this email has been received by you in error please advise the sender and delete the email from your computer. -----Original Message----- From: Jeremy Kitchen [mailto:ki...@sc...] Sent: 24 August 2010 01:17 To: ssh...@li... Subject: Re: [Ssh-sftp-perl-users] SSH2 support for Net::SSH::Perl On Aug 23, 2010, at 8:34 AM, Richard Thomas wrote: > Key class 'Net::SSH::Perl::Key::RSA' is unsupported: Base class package "Class::ErrorHandler" is empty. > (Perhaps you need to 'use' the module which defines that package first.) > at /usr/lib/perl5/vendor_perl/5.8.8/Convert/PEM.pm line 5 > BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Convert/PEM.pm line 5, <GEN0> line 1. > Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/Net/SSH/Perl/Key/RSA.pm line 21, <GEN0> line 1. > BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Net/SSH/Perl/Key/RSA.pm line 21, <GEN0> line 1. > Compilation failed in require at (eval 37) line 1, <GEN0> line 1. > BEGIN failed--compilation aborted at (eval 37) line 1, <GEN0> line 1. > > > So I added "use Net::SSH::Perl::Key::RSA;" to my script and I got: > > #./ciscoprobe.pl > Base class package "Class::ErrorHandler" is empty. > #./ciscoprobe.pl > Can't locate Class/ErrorHandler.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./ciscoprobe.pl line 16. > BEGIN failed--compilation aborted at ./ciscoprobe.pl line 16. install Class::ErrorHandler -Jeremy ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Ssh-sftp-perl-users mailing list Ssh...@li... https://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users |