long ssh communication
- From: rahed <rahed@xxxxxxxxxxxxxxxxx>
- Date: Thu, 16 Feb 2006 17:24:50 +0100
Hi,
I connect from a debian machine with OpenSSH_3.8.1p1 to solaris 9
machines with Sun_SSH_1.0.1 using Perl modul Net::SSH::Perl. It takes
several minutes to run a command (who or something).
Connecting to a machine with OpenSSH (solaris 8) takes a second and
running ssh from a command line to solaris 9 Sun_SSH is also ok. Below
is debug output.
Could someone point me where to look at to cut down these times?
___START_DEBUGG_OUTPUT___
Reading configuration data /home/www-data/.ssh/config
Reading configuration data /etc/ssh_config
Connecting to host, port 22.
Remote protocol version 2.0, remote software version Sun_SSH_1.0.1
Net::SSH::Perl Version 1.28, protocol version 2.0.
No compat match: Sun_SSH_1.0.1.
Connection established.
Sent key-exchange init (KEXINIT), wait response.
Algorithms, c->s: 3des-cbc hmac-sha1 none
Algorithms, s->c: 3des-cbc hmac-sha1 none
##here waits around a minute
Entering Diffie-Hellman Group 1 key exchange.
Sent DH public key, waiting for reply.
Received host key, type 'ssh-dss'.
Host 'host' is known and matches the host key.
Computing shared secret key.
##here waits around a minute
Verifying server signature.
##here waits around half a minute
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.
Trying pubkey authentication with key file '/home/www-data/.ssh/id_dsa'
Login completed, opening dummy shell channel.
channel 0: new [client-session]
Requesting channel_open for channel 0.
channel 0: open confirm rwindow 0 rmax 16384
Got channel open confirmation, requesting shell.
Requesting service shell on channel 0.
channel 1: new [client-session]
Requesting channel_open for channel 1.
Entering interactive session.
Sending command: who
Requesting service exec on channel 1.
channel 1: open confirm rwindow 0 rmax 16384
channel 1: rcvd eof
channel 1: output open -> drain
input_channel_request: rtype exit-status reply 0
channel 1: rcvd close
channel 1: input open -> closed
channel 1: close_read
channel 1: obuf empty
channel 1: output drain -> closed
channel 1: close_write
channel 1: send close
channel 1: full closed
Many thanks.
--
Radek
.
- Follow-Ups:
- Re: long ssh communication
- From: Darren Tucker
- Re: long ssh communication
- From: Claudiu Costin
- Re: long ssh communication
- Prev by Date: Re: cygwin scp -r fails
- Next by Date: Re: Password that contains !
- Previous by thread: cygwin scp -r fails
- Next by thread: Re: long ssh communication
- Index(es):
Relevant Pages
|
|