[Newbie] OpenSSH very slow
From: Francois (toto@tata.com)Date: 01/30/02
- Next message: Richard E. Silverman: "Re: upgrading from SSH version 2 to SSH version 3"
- Previous message: Mike Iglesias: "Re: "Don't panic"?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Francois <toto@tata.com> Date: Tue, 29 Jan 2002 23:57:42 -0500
ssh -V
OpenSSH_2.5.1 NetBSD_Secure_Shell-20010614, SSH protocols 1.5/2.0, OpenSSL
0x0090581f
I have an odd problem with openssh on NetBSD. If I try to connect from home
to a server (running Redhat 6 at work (running , it take about 1 secondes
before I get the promp for my password.
The problem is when I try to connect my computer in my home network. It
take about 30 seconde to obtain the promp for my password. My network
seting is correct, since it work very well with telnet. On the machine I
try to contact, the port 22 is open.
This is the output of ssh -v
gaudrs@asterix:~$ ssh -v -l cesar obelix
OpenSSH_2.5.1 NetBSD_Secure_Shell-20010614, SSH protocols 1.5/2.0, OpenSSL
0x0090581f
debug: Reading configuration data /etc/ssh.conf
debug: Rhosts Authentication disabled, originating port will not be trusted.
debug: ssh_connect: getuid 1000 geteuid 1000 anon 1
debug: Connecting to obelix [191.72.1.2] port 22.
debug: Connection established.
debug: identity file /home/cesar/.ssh/identity type 3
debug: identity file /home/cesar/.ssh/id_dsa type 3
debug: Remote protocol version 2.0, remote software version OpenSSH_3.0.2p1
debug: match: OpenSSH_3.0.2p1 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug: Local version string SSH-2.0-OpenSSH_2.5.1
NetBSD_Secure_Shell-20010614
debug: send KEXINIT
debug: done
debug: wait KEXINIT
debug: got kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug: got kexinit: ssh-rsa,ssh-dss
debug: got kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc@lysator.liu.se
debug: got kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc@lysator.liu.se
debug: got kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug: got kexinit:
hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug: got kexinit: none,zlib
debug: got kexinit: none,zlib
debug: got kexinit:
debug: got kexinit:
debug: first kex follow: 0
debug: reserved: 0
debug: done
debug: kex: server->client 3des-cbc hmac-sha1 none
debug: kex: client->server 3des-cbc hmac-sha1 none
debug: Sending SSH2_MSG_KEX_DH_GEX_REQUEST.
debug: Wait SSH2_MSG_KEX_DH_GEX_GROUP.
debug: Got SSH2_MSG_KEX_DH_GEX_GROUP.
<comment>First delay</comment>
debug: bits set: 2027/4095
debug: Sending SSH2_MSG_KEX_DH_GEX_INIT.
debug: Wait SSH2_MSG_KEX_DH_GEX_REPLY.
debug: Got SSH2_MSG_KEXDH_REPLY.
debug: Host 'obelix' is known and matches the RSA host key.
debug: Found key in /home/cesar/.ssh/known_hosts2:1
debug: bits set: 1985/4095
<comment>Second delay</comment>
debug: ssh_rsa_verify: signature correct
debug: Wait SSH2_MSG_NEWKEYS.
debug: GOT SSH2_MSG_NEWKEYS.
debug: send SSH2_MSG_NEWKEYS.
debug: done: send SSH2_MSG_NEWKEYS.
debug: done: KEX2.
debug: send SSH2_MSG_SERVICE_REQUEST
debug: service_accept: ssh-userauth
debug: got SSH2_MSG_SERVICE_ACCEPT
debug: authentications that can continue:
publickey,password,keyboard-interactive
debug: next auth method to try is publickey
debug: key does not exist: /home/cesar/.ssh/identity
debug: key does not exist: /home/cesar/.ssh/id_dsa
debug: next auth method to try is password
cesar@obelix's password:
How I can seep up this process ?
- Next message: Richard E. Silverman: "Re: upgrading from SSH version 2 to SSH version 3"
- Previous message: Mike Iglesias: "Re: "Don't panic"?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|