Yo Damien!
On Thu, 29 Jun 2000, Damien Miller wrote:
> It would be great if I could get some feedback on how
> http://www.mindrot.org/misc/junk/openssh-SNAP-20000629.tar.gz
> works on Solaris, Irix 6.x, HPUX, AIX, Tru64 and SCO.
A quick check shows that:
./configure && make && make install
compiles fine on SCO UnixWare 7.1.0
Outbound ssh worked fine.
I connected to the server from SecureCRT 3.1b2 and SSH in version
1 and 2 modes. Version 1 protocol worked OK. No luck with V2.
This seemed odd so I went to 2.1.1p1 and found the same result
on this host.
In both cases it hung just after the password was accepted.
I tried w and w/o compression, different encryption and MACs, X is off,
See below for the logs.
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
>From SecureCRT 3.1b2 logs:
[SSH LOCAL ONLY] : SEND : SERVICE_REQUEST [userauth]
[SSH LOCAL ONLY] : RECV : SERVICE_ACCEPT
[SSH LOCAL ONLY] : SENT : USERAUTH_REQUEST [password]
[SSH LOCAL ONLY] : RECV : AUTH_SUCCESS
[SSH LOCAL ONLY] : State Change: SSH_STATE_USERAUTH->SSH_STATE_CONNECTION
Environment:
USER=gem
LOGNAME=gem
HOME=/home/gem
PATH=/usr/bin:/bin:/usr/sbin:/sbin
MAIL=/var/mail//gem
SHELL=/bin/bash
TZ=:US/Pacific
SSH_CLIENT=204.17.205.3 1909 3389
>From the Openssh SNAP logs:
bash-2.03# ./sshd -p 3389 -d
debug: sshd version OpenSSH_2.1.1
debug: loaded 20 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: 33 bytes from programs
debug: OpenSSL random status is now 1
debug: loading PRNG seed from file /root/.ssh/prng_seed
debug: read DSA private key done
debug: Seeding random number generator.
debug: OpenSSL random status is now 1
debug: 3 bytes from system calls
debug: 33 bytes from programs
debug: OpenSSL random status is now 1
debug: Bind to port 3389 on 0.0.0.0.
Server listening on 0.0.0.0 port 3389.
Generating 768 bit RSA key.
debug: Seeding random number generator.
debug: OpenSSL random status is now 1
debug: 3 bytes from system calls
debug: 33 bytes from programs
debug: OpenSSL random status is now 1
debug: Seeding random number generator.
debug: OpenSSL random status is now 1
debug: 3 bytes from system calls
debug: 33 bytes from programs
debug: OpenSSL random status is now 1
RSA key generation complete.
debug: Server will not fork when running in debugging mode.
Connection from 204.17.205.3 port 1909
debug: Client protocol version 2.0; client software version 3.0 SecureCRT (tm),
a product of Van Dyke Technologies, Inc.
Enabling compatibility mode for protocol 2.0
debug: Local version string SSH-1.99-OpenSSH_2.1.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
debug: got kexinit: 3des-cbc
debug: got kexinit: hmac-md5
debug: got kexinit: hmac-md5
debug: got kexinit: none
debug: got kexinit: none
debug: got kexinit:
debug: got kexinit:
debug: first kex follow: 0
debug: reserved: 0
debug: done
debug: kex: client->server 3des-cbc hmac-md5 none
debug: kex: server->client 3des-cbc hmac-md5 none
debug: Wait SSH2_MSG_KEXDH_INIT.
debug: bits set: 512/1024
debug: bits set: 527/1024
debug: sig size 20 20
debug: send SSH2_MSG_NEWKEYS.
debug: done: send SSH2_MSG_NEWKEYS.
debug: Wait SSH2_MSG_NEWKEYS.
debug: GOT SSH2_MSG_NEWKEYS.
debug: done: KEX2.
debug: userauth-request for user gem service ssh-connection method password
Accepted password for gem from 204.17.205.3 port 1909 ssh2
debug: Entering interactive session for SSH2.
debug: server_init_dispatch_20
debug: channel_input_open: ctype session rchan 0 win 8192 max 8192
debug: open session
debug: channel 0: new [server-session]
debug: session_new: init
debug: session_new: session 0
debug: session_open: channel 0
debug: session_open: session 0: link with channel 0
debug: confirm session
debug: callback start
debug: session_by_channel: session 0 channel 0
debug: session_input_channel_req: session 0 channel 0 request pty-req reply 0
debug: Received SIGCHLD.
error: grantpt: Interrupted system call
error: session_pty_req: session 0 alloc failed
debug: callback done
debug: callback start
debug: session_by_channel: session 0 channel 0
debug: session_input_channel_req: session 0 channel 0 request shell reply 0
debug: fd 9 setting O_NONBLOCK
debug: fd 11 setting O_NONBLOCK
debug: callback done
debug: tvp!=NULL kid 1 mili 100
debug: session_by_pid: pid 18642
error: session_by_pid: unknown pid 18642
debug: dump: used 1 session 0 80ecc4c channel 0 pid 18643
debug: dump: used 0 session 1 80eccd8 channel 0 pid 0
debug: dump: used 0 session 2 80ecd64 channel 0 pid 0
debug: dump: used 0 session 3 80ecdf0 channel 0 pid 0
debug: dump: used 0 session 4 80ece7c channel 0 pid 0
debug: dump: used 0 session 5 80ecf08 channel 0 pid 0
debug: dump: used 0 session 6 80ecf94 channel 0 pid 0
debug: dump: used 0 session 7 80ed020 channel 0 pid 0
debug: dump: used 0 session 8 80ed0ac channel 0 pid 0
debug: dump: used 0 session 9 80ed138 channel 0 pid 0
debug: session_close_by_pid: no session for pid 0
debug: channel 0: read 13 from efd 11
debug: channel 0: read 11 from efd 11
debug: channel 0: read 14 from efd 11
debug: channel 0: read 17 from efd 11
debug: channel 0: read 37 from efd 11
debug: channel 0: read 22 from efd 11
debug: channel 0: read 18 from efd 11
debug: channel 0: read 17 from efd 11
debug: channel 0: read 36 from efd 11