Problem with Net::SSH Perl



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.

.



Relevant Pages

  • Problem with Net::SSH Perl
    ... I tried using Net::SSH Perl, building it into Active Perl 5.8.6. ... It was compiled on Unix Platform, Solaris 10. ... unknown: ... unknown: Connection established. ...
    (comp.lang.perl.moderated)
  • Problem with Net::SSH Perl
    ... I tried using Net::SSH Perl, building it into Active Perl 5.8.6. ... It was compiled on Unix Platform, Solaris 10. ... unknown: Reading configuration data /etc/ssh_config ... unknown: Connection established. ...
    (comp.security.ssh)
  • Problem with Net::SSH Perl
    ... I tried using Net::SSH Perl, building it into Active Perl 5.8.6. ... It was compiled on Solaris 10. ... unknown: ... unknown: Connection established. ...
    (comp.lang.perl.misc)
  • Re: Problems with Parse::Lex
    ... > Unknown 'strict' tag'1' at ... Looks to me that's complaining about 'use strict;'. ... Are you sure it's perl ...
    (comp.lang.perl.modules)
  • Re: Re: Encase Forensic
    ... Ayub ensures the pope in front of hers and grudgingly proves. ... Bob the blade's meaningful, v me it's unknown, whereas in connection with you it's ...
    (sci.crypt)