[OpenIndiana-discuss] Slow ssh login?

Dan Swartzendruber dswartz at druber.com
Fri Oct 19 23:10:46 UTC 2012


It gets odder and odder.  I tried disabling sshd on both hosts and running
with '-ddd' to debug.  Here is the slow one:

Connection from 10.0.0.1 port 40262
debug1: Client protocol version 2.0; client software version OpenSSH_5.9p1
Debi\
an-5ubuntu1
debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-Sun_SSH_1.5
debug2: Waiting for monitor
monitor debug1: list_hostkey_types: ssh-rsa,ssh-dss
(5 second delay)
monitor debug2: Monitor pid 16727, unprivileged child pid 16729
monitor debug1: reading the context from the child
debug2: Monitor signalled readiness
debug1: use_engine is 'yes'
debug1: pkcs11 engine initialized, now setting it as default for RSA, DSA,
and \
symmetric ciphers
debug1: pkcs11 engine initialization complete
debug1: list_hostkey_types: ssh-rsa,ssh-dss
(10 second delay)
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-gr\

(everything after here is copascetic)

And now the fast one:

Connection from 10.0.0.1 port 39510
debug1: Client protocol version 2.0; client software version OpenSSH_5.9p1
Debia
n-5ubuntu1
debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-Sun_SSH_1.5
debug2: Waiting for monitor
monitor debug1: list_hostkey_types: ssh-rsa,ssh-dss
monitor debug2: Monitor pid 13757, unprivileged child pid 13758
debug2: Monitor signalled readiness
debug1: use_engine is 'yes'
debug1: pkcs11 engine initialized, now setting it as default for RSA, DSA,
and s
ymmetric ciphers
debug1: pkcs11 engine initialization complete
debug1: list_hostkey_types: ssh-rsa,ssh-dss
monitor debug1: reading the context from the child
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-gro

No delay at all after either 'list_hostkey_types' message.  The only
difference I saw is that the 'reading the context from the child' happens
later in the fast case.


More information about the OpenIndiana-discuss mailing list