Skip Menu |

This queue is for tickets about the Net-SSH-Perl CPAN distribution.

Report information
The Basics
Id: 19179
Status: rejected
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: skr [...] tsimail.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Bad login performance with SSH2
Hello, since Monday I'm trying to use Net::SSH::Perl within a script. I want to have a constant connection to a remote host and execute hundreds of commands during the session. Because of this I am forced to use SSH2. If I use SSH1 the login is running very fast, but with SSH2 it takes about 20-30 seconds to login. In the debug output I can see that the login "sleeps" on 2 positions. I already tried to login after changing various settings (ssh-rsa, different ciphers, hmac-md5, etc.) without success. By the way, it is also impossible for me to do pubkeyauth. Do you have any idea why this happens? Regards Sebastian ... Sent key-exchange init (KEXINIT), wait response. Algorithms, c->s: 3des-cbc hmac-sha1 none Algorithms, s->c: 3des-cbc hmac-sha1 none ... zzzz ... Entering Diffie-Hellman Group 1 key exchange. Sent DH public key, waiting for reply. Received host key, type 'ssh-dss'. Host '10.1.254.71' is known and matches the host key. Computing shared secret key. ... zzzz ... Verifying server signature. Waiting for NEWKEYS message. Enabling incoming encryption/MAC/compression. Send NEWKEYS, enable outgoing encryption/MAC/compression. Sending request for user-authentication service. Service accepted: ssh-userauth. Trying empty user-authentication request. Authentication methods that can continue: publickey,password. Next method to try is publickey. Next method to try is password. ...
Try installing Math::BigInt::GMP or using Net::SSH2.