Another shapshot

Gary E. Miller gem at rellim.com
Mon Oct 30 14:55:46 EST 2000


Yo All!

I can not seem to get the openssh-SNAP-20001028.tar.gz to work
with sshd v2 on Unixware.  sshd v1 seems fine.  See below my sig
for a trace of both ends of a hung connect.

I get the same error whether I connect from ssh on slackware or 
unixware.

The same sshd code works fine for me on slackware.  

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 20340 Empire Ave, Suite E-3, Bend, OR 97701
	gem at rellim.com  Tel:+1(541)382-8588 Fax: +1(541)382-8676

bash-2.03# /usr/local/sbin/sshd -p 200 -d -d
debug1: sshd version OpenSSH_2.3.0p1
debug1: Seeded RNG with 34 bytes from programs
debug1: Seeded RNG with 3 bytes from system calls
debug1: read DSA private key done
debug1: Seeded RNG with 34 bytes from programs
debug1: Seeded RNG with 3 bytes from system calls
debug1: Bind to port 200 on 0.0.0.0.
Server listening on 0.0.0.0 port 200.
Generating 768 bit RSA key.
debug1: Seeded RNG with 34 bytes from programs
debug1: Seeded RNG with 3 bytes from system calls
debug1: Seeded RNG with 34 bytes from programs
debug1: Seeded RNG with 3 bytes from system calls
RSA key generation complete.
debug1: Server will not fork when running in debugging mode.
Connection from 127.0.0.1 port 766
debug1: Client protocol version 2.0; client software version OpenSSH_2.3.0p1
debug1: no match: OpenSSH_2.3.0p1
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-1.99-OpenSSH_2.3.0p1
debug1: send KEXINIT
debug1: done
debug1: wait KEXINIT
debug1: got kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug1: got kexinit: ssh-dss
debug1: got kexinit: 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc at lysator.liu.se
debug1: got kexinit: 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc at lysator.liu.se
debug1: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160 at openssh.com
debug1: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160 at openssh.com
debug1: got kexinit: none
debug1: got kexinit: none
debug1: got kexinit: 
debug1: got kexinit: 
debug1: first kex follow: 0 
debug1: reserved: 0 
debug1: done
debug1: kex: client->server 3des-cbc hmac-sha1 none
debug1: kex: server->client 3des-cbc hmac-sha1 none
debug1: Wait SSH2_MSG_KEX_DH_GEX_REQUEST.
/usr/local/etc/primes: No such file or directory
WARNING: /usr/local/etc/primes does not exist, using old prime
debug1: bits set: 524/1024
debug1: Sending SSH2_MSG_KEX_DH_GEX_GROUP.
debug1: Wait SSH2_MSG_KEX_DH_GEX_INIT.
debug1: bits set: 511/1024
debug1: sig size 20 20
debug1: send SSH2_MSG_NEWKEYS.
debug1: done: send SSH2_MSG_NEWKEYS.
debug1: Wait SSH2_MSG_NEWKEYS.
debug1: GOT SSH2_MSG_NEWKEYS.
debug1: done: KEX2.
debug1: userauth-request for user gem service ssh-connection method none
debug1: attempt #1
debug2: input_userauth_request: setting up authctxt for gem
debug2: input_userauth_request: try method none
Failed none for gem from 127.0.0.1 port 766 ssh2
debug1: userauth-request for user gem service ssh-connection method password
debug1: attempt #2
debug2: input_userauth_request: try method password
Accepted password for gem from 127.0.0.1 port 766 ssh2
debug1: Entering interactive session for SSH2.
debug1: server_init_dispatch_20
debug1: server_input_channel_open: ctype session rchan 0 win 32768 max 16384
debug1: open session
debug1: channel 0: new [server-session]
debug1: session_new: init
debug1: session_new: session 0
debug1: session_open: channel 0
debug1: session_open: session 0: link with channel 0
debug1: confirm session
debug2: callback start
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 channel 0 request pty-req reply 0
debug1: Received SIGCHLD.
error: grantpt: Interrupted system call
error: session_pty_req: session 0 alloc failed
debug2: callback done
debug2: callback start
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 channel 0 request shell reply 0
debug1: fd 11 setting O_NONBLOCK
debug1: fd 13 setting O_NONBLOCK
debug2: callback done
debug1: tvp!=NULL kid 1 mili 100
debug1: session_by_pid: pid 24483
error: session_by_pid: unknown pid 24483
debug1: dump: used 1 session 0 80f423c channel 0 pid 24484
debug1: dump: used 0 session 1 80f42c8 channel 0 pid 0
debug1: dump: used 0 session 2 80f4354 channel 0 pid 0
debug1: dump: used 0 session 3 80f43e0 channel 0 pid 0
debug1: dump: used 0 session 4 80f446c channel 0 pid 0
debug1: dump: used 0 session 5 80f44f8 channel 0 pid 0
debug1: dump: used 0 session 6 80f4584 channel 0 pid 0
debug1: dump: used 0 session 7 80f4610 channel 0 pid 0
debug1: dump: used 0 session 8 80f469c channel 0 pid 0
debug1: dump: used 0 session 9 80f4728 channel 0 pid 0
debug1: session_close_by_pid: no session for pid 0
debug2: channel 0: read 13 from efd 13
debug2: channel 0: read 11 from efd 13
debug2: channel 0: read 14 from efd 13
debug2: channel 0: read 17 from efd 13
debug2: channel 0: read 37 from efd 13
debug2: channel 0: read 22 from efd 13
debug2: channel 0: read 18 from efd 13
debug2: channel 0: read 17 from efd 13
debug2: channel 0: read 31 from efd 13
[hang]

bash-2.03# ssh -l gem -v -v  -p 200 localhost
SSH Version OpenSSH_2.3.0p1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
debug: Reading configuration data /usr/local/etc/ssh_config
debug: Applying options for *
debug: Applying options for *
debug: Seeded RNG with 34 bytes from programs
debug: Seeded RNG with 3 bytes from system calls
debug: ssh_connect: getuid 0 geteuid 0 anon 0
debug: Connecting to localhost [127.0.0.1] port 200.
debug: Seeded RNG with 34 bytes from programs
debug: Seeded RNG with 3 bytes from system calls
debug: Allocated local port 766.
debug: Connection established.
debug: Remote protocol version 1.99, remote software version OpenSSH_2.3.0p1
debug: no match: OpenSSH_2.3.0p1
Enabling compatibility mode for protocol 2.0
debug: Local version string SSH-2.0-OpenSSH_2.3.0p1
debug: send KEXINIT
debug: done
debug: wait KEXINIT
debug: got kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 debug: got kexinit: ssh-dss
debug: got kexinit: 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc at lysator.liu.se
debug: got kexinit: 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc at lysator.liu.se
debug: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160 at openssh.com
debug: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160 at openssh.com
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.
H2_MSG_KEX_DH_GEX_INIT.
debug: Wait SSH2_MSG_KEX_DH_GEX_REPLY.
debug: Got SSH2_MSG_KEXDH_REPLY.
debug: Forcing accepting of host key for loopback/localhost.
debug: bits set: 524/1024
debug: len 55 datafellows 0
debug: dsa_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
debug: next auth method to try is publickey
debug: key does not exist: /root/.ssh/id_dsa
debug: we did not send a packet, disable method
debug: next auth method to try is password
gem at localhost's password: 
debug: we sent a password packet, wait for reply
debug: ssh-userauth2 successfull: method password
debug: no set_nonblock for tty fd 6
debug: no set_nonblock for tty fd 7
debug: no set_nonblock for tty fd 8
debug: channel 0: new [client-session]
debug: send channel open 0
debug: Entering interactive session.
debug: callback start
debug: client_init id 0 arg 0
debug: channel request 0: shell
debug: client_set_session_ident: id 0
debug: callback done
debug: channel 0: open confirm rwindow 0 rmax 16384
debug: channel 0: rcvd adjust 32768
debug: channel 0: rcvd ext data 13
Environment:
            debug: channel 0: written 13 to efd 8
debug: channel 0: rcvd ext data 11
  USER=gem
          debug: channel 0: written 11 to efd 8
debug: channel 0: rcvd ext data 14
  LOGNAME=gem
             debug: channel 0: written 14 to efd 8
debug: channel 0: rcvd ext data 17
  HOME=/home/gem
                debug: channel 0: written 17 to efd 8
debug: channel 0: rcvd ext data 37
  PATH=/usr/bin:/bin:/usr/sbin:/sbin
                                    debug: channel 0: written 37 to efd 8
debug: channel 0: rcvd ext data 22
  MAIL=/var/mail//gem
                     debug: channel 0: written 22 to efd 8
debug: channel 0: rcvd ext data 18
  SHELL=/bin/bash
                 debug: channel 0: written 18 to efd 8
debug: channel 0: rcvd ext data 17
  TZ=:US/Pacific
                debug: channel 0: written 17 to efd 8
debug: channel 0: rcvd ext data 31
  SSH_CLIENT=127.0.0.1 766 200
                              debug: channel 0: written 31 to efd 8
[hang]






More information about the openssh-unix-dev mailing list