Problem with Net::SSH Perl

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


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 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
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

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?


Site Timeline