SCO Openserver 5.0.5 ssh2 problem.

Phillip Porch root at theporch.com
Tue Jun 6 13:14:27 EST 2000


I just finished compiling openssh-2.1.0p3 on a SCO openserver system. I
generated the keys fine and genereated the host keys both rsa and dsa
without problems.

ssh (version1) works great.

I tried to use ssh (version 2) and after being prompted to login, it
quits. I am attaching a script file of...

ssh -v -2 root at sco to see if you can find the problem. Let me know how I
can help.

[root at sco ~] ssh -v -2 root at sco
SSH Version OpenSSH-2.1, protocol versions 1.5/2.0.
Compiled with SSL (0x00905820).
debug: Reading configuration data /usr/local/etc/ssh_config
debug: Applying options for *
debug: ssh_connect: getuid 0 geteuid 0 anon 0
debug: Connecting to sco [207.234.31.38] port 22.
debug: loaded 21 entropy commands from /usr/local/etc/ssh_prng_cmds
debug: Seeding random number generator.
debug: OpenSSL random status is now 0

debug: 3 bytes from system calls
debug: Time elapsed: 20 msec
debug: Got 0.06 bytes of entropy from 'ls -alni /var/log'
debug: Time elapsed: 30 msec
debug: Got 0.77 bytes of entropy from 'ls -alni /var/adm'
debug: Time elapsed: 10 msec
debug: Got 0.02 bytes of entropy from 'ls -alni /var/spool/mail'
debug: Time elapsed: 40 msec
debug: Got 1.49 bytes of entropy from 'ls -alni /tmp'
debug: Time elapsed: 30 msec
debug: Got 2.00 bytes of entropy from 'netstat -an'
debug: Time elapsed: 70 msec
debug: Got 0.61 bytes of entropy from 'netstat -in'
debug: Time elapsed: 40 msec
debug: Got 0.20 bytes of entropy from 'netstat -rn'
debug: Time elapsed: 30 msec
debug: Got 0.70 bytes of entropy from 'netstat -s'
debug: Time elapsed: 10 msec
debug: Got 0.06 bytes of entropy from 'arp -a -n'
debug: Time elapsed: 30 msec
debug: Got 0.17 bytes of entropy from 'ifconfig -a'
debug: Time elapsed: 60 msec
debug: Got 0.23 bytes of entropy from 'ps -al'
debug: Time elapsed: 100 msec
debug: Command 'ps -efl' timed out
debug: Got 2.00 bytes of entropy from 'ps -efl'
debug: Time elapsed: 60 msec
debug: Got 0.15 bytes of entropy from 'w'
debug: Time elapsed: 30 msec
debug: Got 0.31 bytes of entropy from 'last'
debug: Time elapsed: 50 msec
debug: Got 0.20 bytes of entropy from 'df'
debug: Time elapsed: 20 msec
debug: Got 0.28 bytes of entropy from 'df -i'
debug: Time elapsed: 60 msec
debug: Got 0.26 bytes of entropy from 'vmstat'
debug: Time elapsed: 20 msec
debug: Got 0.01 bytes of entropy from 'uptime'
debug: Time elapsed: 10 msec
debug: Command 'ipcs -a' timed out
debug: Got 0.00 bytes of entropy from 'ipcs -a'
debug: Time elapsed: 20 msec
debug: Got 1.73 bytes of entropy from 'tail -200 /var/adm/messages'
debug: Time elapsed: 0 msec
debug: Got 0.00 bytes of entropy from 'tail -200 /var/adm/syslog'
debug: Time elapsed: 20 msec
debug: Got 0.03 bytes of entropy from 'ls -alni /var/log'
debug: Time elapsed: 20 msec
debug: Got 0.39 bytes of entropy from 'ls -alni /var/adm'
debug: Time elapsed: 10 msec
debug: Got 0.01 bytes of entropy from 'ls -alni /var/spool/mail'
debug: Time elapsed: 40 msec
debug: Got 0.74 bytes of entropy from 'ls -alni /tmp'
debug: Time elapsed: 30 msec
debug: Got 1.00 bytes of entropy from 'netstat -an'
debug: Time elapsed: 70 msec
debug: Got 0.30 bytes of entropy from 'netstat -in'
debug: Time elapsed: 40 msec
debug: Got 0.10 bytes of entropy from 'netstat -rn'
debug: Time elapsed: 30 msec
debug: Got 0.35 bytes of entropy from 'netstat -s'
debug: Time elapsed: 10 msec
debug: Got 0.03 bytes of entropy from 'arp -a -n'
debug: Time elapsed: 30 msec
debug: Got 0.08 bytes of entropy from 'ifconfig -a'
debug: Time elapsed: 60 msec
debug: Got 0.11 bytes of entropy from 'ps -al'
debug: Command 'ps -efl' disabled (badness 2)
debug: Time elapsed: 0 msec
debug: Command 'w' timed out
debug: Got 0.00 bytes of entropy from 'w'
debug: Time elapsed: 30 msec
debug: Got 0.15 bytes of entropy from 'last'
debug: Time elapsed: 50 msec
debug: Got 0.10 bytes of entropy from 'df'
debug: Time elapsed: 20 msec
debug: Got 0.14 bytes of entropy from 'df -i'
debug: Time elapsed: 50 msec
debug: Got 0.13 bytes of entropy from 'vmstat'
debug: Time elapsed: 10 msec
debug: Got 0.00 bytes of entropy from 'uptime'
debug: Command 'ipcs -a' disabled (badness 2)
debug: Time elapsed: 20 msec
debug: Got 0.87 bytes of entropy from 'tail -200 /var/adm/messages'
debug: Time elapsed: 0 msec
debug: Got 0.00 bytes of entropy from 'tail -200 /var/adm/syslog'
debug: 27 bytes from programs
debug: OpenSSL random status is now 1

debug: loading PRNG seed from file /root/.ssh/prng_seed
debug: Allocated local port 784.
debug: Connection established.
debug: Remote protocol version 1.99, remote software version OpenSSH-2.1
Enabling compatibility mode for protocol 2.0
debug: Local version string SSH-2.0-OpenSSH-2.1
debug: send KEXINIT
debug: done
debug: wait KEXINIT
debug: got kexinit: diffie-hellman-group1-sha1
debug: got kexinit: ssh-dss
debug: got kexinit: 3des-cbc,blowfish-cbc,arcfour,cast128-cbc
debug: got kexinit: 3des-cbc,blowfish-cbc,arcfour,cast128-cbc
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: zlib,none
debug: got kexinit: zlib,none
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_KEXDH_INIT.
debug: bits set: 513/1024
debug: Wait SSH2_MSG_KEXDH_REPLY.
debug: Got SSH2_MSG_KEXDH_REPLY.
debug: keytype ssh-dss
debug: keytype ssh-dss
debug: keytype ssh-dss
debug: Host 'sco' is known and matches the DSA host key.
debug: bits set: 493/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: try pubkey: /root/.ssh/id_dsa
debug: PEM_read_bio_DSAPrivateKey failed
debug: read DSA private key done
Enter passphrase for DSA key '/root/.ssh/id_dsa': 
debug: read DSA private key done
debug: sig size 20 20
debug: authentications that can continue: publickey,password
root at sco's password: 
debug: ssh-userauth2 successfull
debug: fd 6 setting O_NONBLOCK
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 32768
debug: channel 0: rcvd adjust 16384
debug: channel 0: rcvd eof
debug: channel 0: output open -> drain
debug: callback start
debug: client_input_channel_req: rtype exit-status reply 0
debug: callback done
debug: channel 0: rcvd close
debug: channel 0: input open -> closed
debug: channel 0: close_read
debug: channel 0: obuf empty
debug: channel 0: output drain -> closed
debug: channel 0: close_write
debug: channel 0: send close
debug: channel 0: full closed2
debug: channel_free: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i8/0 o128/0 fd -1/-1)

debug: !channel_still_open.
Connection to sco closed.
debug: Transferred: stdin 0, stdout 0, stderr 27 bytes in 0.1 seconds
debug: Bytes per second: stdin 0.0, stdout 0.0, stderr 270.0
debug: Exit status 0
debug: writing PRNG seed to file /root/.ssh/prng_seed

-- 
Phillip P. Porch <root at sco.theporch.com>  NIC:PP1573     finger for 
http://www.theporch.com  UTM - 16 514546E 3994565N          PGP key






More information about the openssh-unix-dev mailing list