Click here to get back home

Problem with Net::SSH Perl

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Problem with Net::SSH Perl None 06-30-2005
Posted by None on June 30, 2005, 8:31 am
Please log in for more thread options


Hello,

I tried using Net::SSH Perl, building it into Active Perl 5.8.6.
It was compiled on Unix platform, Solaris 10. But when I try to run a
script that uses Net::SSH, it fails. It connects with the other
machine, but computations take a long time. And due to this, it takes
about 3-4 minutes and the other side rejects the connection, resulting
in a broken pipe.

Here is a snapshot of the run:

bash-2.05b# perl perl-ssh.pl priems45 root opticall
unknown: Reading configuration data //.ssh/config
unknown: Reading configuration data /etc/ssh_config
unknown: Allocated local port 1023.
unknown: Connecting to priems45, port 22.
unknown: Remote protocol version 2.0, remote software version
OpenSSH_3.9p1
unknown: Net::SSH::Perl Version 1.28, protocol version 2.0.
unknown: No compat match: OpenSSH_3.9p1.
unknown: Connection established.
unknown: Sent key-exchange init (KEXINIT), wait response.
unknown: Algorithms, c->s: 3des-cbc hmac-sha1 none
unknown: Algorithms, s->c: 3des-cbc hmac-sha1 none
unknown: Entering Diffie-Hellman Group 1 key exchange.
unknown: Sent DH public key, waiting for reply.
unknown: Received host key, type 'ssh-dss'.
unknown: Permanently added 'priems45' to the list of known hosts.
unknown: Computing shared secret key.
unknown: Verifying server signature.
unknown: Waiting for NEWKEYS message.
unknown: Enabling incoming encryption/MAC/compression.
unknown: Send NEWKEYS, enable outgoing encryption/MAC/compression.
unknown: Sending request for user-authentication service.
Broken Pipe

Net::SSH built into another version of perl works fine on a Solaris 8
Machine.

Please let me know what the problem may be which results in the
"broken pipe " error. I could make out that the server is closing the
connection because the client (where Net::SSH perl is installed) is
slwo in its computation ( Maybe some problem with ssh perl)

Could anyone help me in this regard?

Thanks,
Avinash.



Similar ThreadsPosted
Problem with Net::SSH::Perl module December 22, 2004, 12:38 pm
Net::SSH::Perl::Cipher Problem. June 10, 2005, 1:51 am
Problem using C module in perl January 5, 2006, 5:03 am
Net::SSH::Perl remoteinteract.pl Problem January 9, 2006, 4:19 am
problem in telnet using perl December 27, 2007, 11:22 pm
Problem installing certain PERL modules October 15, 2004, 4:47 am
Perl DBI Oracle Problem with Apache 2.0.46 January 19, 2005, 2:29 am
DynaLoader problem, (Extending Perl) June 2, 2005, 2:14 pm
libwww-perl-5.805 install problem on OS X 10.3 March 13, 2006, 10:12 pm
problem using swig to create perl module October 6, 2005, 8:10 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap