Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Steve VanDevender <stevev@hexadecimal.uoregon.edu>
Subject: ssh 1.2.26 hangs with X clients in Digital UNIX 4.0D
Date: 1998/07/28	[thread overview]
Message-ID: <x7k94x4i3c.fsf@hexadecimal.uoregon.edu> (raw)

I'm having a problem when trying to run X clients over an ssh
session (with ssh 1.2.26) when starting the clients from a
Digital UNIX 4.0D system.  I'm not seeing the problem with
Digital UNIX 4.0B running the same version of ssh.  Running a
copy of sshd in debug mode, I get this transcript:

root@hexadecimal:/ 577>/usr/local/sbin/sshd -d -p 10022
debug: sshd version 1.2.26 [alpha-dec-osf4.0]
log: OSF/1: security level : C2
debug: Initializing random number generator; seed file /etc/ssh_random_seed
log: Server listening on port 10022.
log: Generating 768 bit RSA key.
Generating p:  ............................++ (distance 472)
Generating q:  .........................++ (distance 436)
Computing the keys...
Testing the keys...
Key generation complete.
log: RSA key generation complete.
debug: Server will not fork when running in debugging mode.
log: Connection from 128.223.142.113 port 1023
debug: Client protocol version 1.5; client software version 1.2.26
debug: Sent 768 bit public key and 1024 bit host key.
debug: Encryption type: idea
debug: Received session key; encryption turned on.
debug: Installing crc compensation attack detector.
debug: Attempting authentication for stevev.
debug: Trying rhosts with RSA host authentication for stevev
debug: RhostsRSA authentication failed for 'stevev', remote 'stevev', host 'river.uoregon.edu'.
log: Password authentication for stevev accepted.
debug: Allocating pty.
debug: Received request for X11 forwarding with auth spoofing.
debug: Allocated channel 0 of type 1.
debug: Forking shell.
debug: Entering interactive session.
debug: Setting controlling tty using TIOCSCTTY.
debug: X11 connection requested.
debug: Received SIGCHLD.
error: Strange, got SIGCHLD and wait returned pid 2911 but child is 2898

The "Received SIGCHLD" appears at the moment an X client
originating from the 4.0D host is started.

The initiating ssh session looks like this:

stevev@river:~ 312>ssh -v -p 10022 hexadecimal
SSH Version 1.2.26 [alpha-dec-osf4.0], protocol version 1.5.
Standard version.  Does not use RSAREF.
river.uoregon.edu: Reading configuration data /etc/ssh_config
river.uoregon.edu: ssh_connect: getuid 8197 geteuid 0 anon 0
river.uoregon.edu: Connecting to hexadecimal [128.223.32.56] port 10022.
river.uoregon.edu: Allocated local port 1023.
river.uoregon.edu: Connection established.
river.uoregon.edu: Remote protocol version 1.5, remote software version 1.2.26
river.uoregon.edu: Waiting for server public key.
river.uoregon.edu: Received server public key (768 bits) and host key (1024 bits).
river.uoregon.edu: Host 'hexadecimal' is known and matches the host key.
river.uoregon.edu: Initializing random; seed file /home9/stevev/.ssh/random_seed
river.uoregon.edu: Encryption type: idea
river.uoregon.edu: Sent encrypted session key.
river.uoregon.edu: Installing crc compensation attack detector.
river.uoregon.edu: Received encrypted confirmation.
river.uoregon.edu: Trying rhosts or /etc/hosts.equiv with RSA host authentication.
river.uoregon.edu: Remote: Rhosts/hosts.equiv authentication refused: client user 'stevev', server user 'stevev', client host 'river.uoregon.edu'.
river.uoregon.edu: Server refused our rhosts authentication or host key.
river.uoregon.edu: No agent.
river.uoregon.edu: Doing password authentication.
stevev@hexadecimal's password: 
river.uoregon.edu: Requesting pty.
river.uoregon.edu: Requesting X11 forwarding with authentication spoofing.
river.uoregon.edu: Requesting shell.
river.uoregon.edu: Entering interactive session.
Last login: Tue Jul 28 17:19:41 1998 from river.uoregon.ed
Digital UNIX V4.0D  (Rev. 878); Tue Jul 28 14:07:42 PDT 1998 

Environment:
  HOME=/home/stevev
  USER=stevev
  LOGNAME=stevev
  PATH=/bin:/usr/bin:/usr/ucb:/usr/bin/X11:/usr/local/bin:/usr/local/bin
  MAIL=/var/spool/mail/stevev
  SHELL=/usr/local/bin/bash
  TZ=PST8PDT
  SSH_CLIENT=128.223.142.113 1023 10022
  SSH_TTY=/dev/ttyp7
  TERM=xterm
  DISPLAY=hexadecimal.uoregon.edu:1.0

Running /usr/bin/X11/xauth add hexadecimal.uoregon.edu:1.0 MIT-MAGIC-COOKIE-1 8ceb213e8034980a84b0b2ae2c19d131
Running /usr/bin/X11/xauth add 128.223.32.56:1.0 MIT-MAGIC-COOKIE-1 8ceb213e8034980a84b0b2ae2c19d131
No mail.
stevev@hexadecimal:~ 501>xterm &
[1] 2912
stevev@hexadecimal:~ 502>

After returning the prompt from starting the xterm the session
hangs and no longer responds to input.

-- 
Steve VanDevender  "I ride the big iron"  http://jcomm.uoregon.edu/~stevev
stevev@hexadecimal.uoregon.edu  PGP keyprint 4AD7AF61F0B9DE87 522902969C0A7EE8
"bash awk grep perl sed df du, du-du du-du,
vi troff su fsck rm * halt LART LART LART!" -- the Swedish BOFH



                 reply	other threads:[~1998-07-28  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox