Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 1997 11:28:08 +0800 (CST)
From:      ywliu@phi.Sinica.EDU.tw (Yen-Wei Liu)
To:        terry@lambert.org (Terry Lambert)
Cc:        questions@freebsd.org, hackers@freebsd.org
Subject:   Re: SSH-1.2.17 & FreeBSD 2.1.7 strange problem
Message-ID:  <9703160328.AA13852@phi.Sinica.EDU.tw>
In-Reply-To: <199703151836.LAA04518@phaeton.artisoft.com> from "Terry Lambert" at Mar 15, 97 11:36:25 am

next in thread | previous in thread | raw e-mail | index | archive | help
> The shell is getting a signal 1 (SIGHUP), probably because "carrier"
> is dropped on the PTY, probably because of an authorization failure.
> 
> You will need to provide better debugging information (see the ssh
> source site for information).

Hi,

The following is the debug info from both server side and client side.
I don't think it's that useful, though.

I guess you are right on the dropping of PTY, but the authorization
was successful. However, the reason that it dropped PTY and only on
FreeBSD 2.1.7 is unknown.

--------------------------------------------------------------------------
On the server side :

# uname -a
SunOS ww3 5.5 Generic sun4u sparc SUNW,Ultra-1
# /usr/local/sbin/sshd -d
debug: sshd version 1.2.17 [sparc-sun-solaris2.5]
debug: Initializing random number generator; seed file /etc/ssh_random_seed
log: Server listening on port 22.
log: Generating 768 bit RSA key.
log: RSA key generation complete.
debug: Server will not fork when running in debugging mode.
log: Connection from 203.75.92.65 port 1023
debug: Client protocol version 1.5; client software version 1.2.17
debug: Sent 768 bit public key and 1024 bit host key.
debug: Encryption type: idea
debug: Received session key; encryption turned on.
debug: Attempting authentication for ywliu.
debug: Trying rhosts with RSA host authentication for ywliu
log: Could not reverse map address 203.75.92.65.
debug: RhostsRSA authentication failed for 'ywliu', remote 'ywliu', host '203.75.92.65'.
log: Password authentication for ywliu accepted.
debug: Allocating pty.
debug: Ignoring unsupported tty mode opcode 17 (0x11)
debug: Forking shell.
debug: Entering interactive session.
debug: End of interactive session; stdin 0, stdout (read 0, sent 0), stderr 0 bytes.
debug: Received SIGCHLD.
fatal: Local: Command terminated on signal 1.
debug: Calling cleanup 0x1844c(0xeffff738)
debug: pty_cleanup_proc called
debug: Calling cleanup 0x21514(0x0)

--------------------------------------------------------------------------

On the client side :

tao: {101} uname -a
FreeBSD tao.sinanet.com.tw 2.1.7-RELEASE FreeBSD 2.1.7-RELEASE #0: Thu Feb 27 16:01:34 CST 1997     ywliu@tao.sinanet.com.tw:/usr/src/sys/compile/Sinanet  i386
tao: {102} ssh -v ww3.sinanet.com
SSH Version 1.2.17 [i386-unknown-freebsd2.1.7], protocol version 1.5.
Standard version.  Does not use RSAREF.
Reading configuration data /etc/ssh_config
ssh_connect: getuid 1000 geteuid 0 anon 0
Connecting to ww3.sinanet.com [207.88.20.69] port 22.
Allocated local port 1023.
Connection established.
Remote protocol version 1.5, remote software version 1.2.17
Waiting for server public key.
Received server public key (768 bits) and host key (1024 bits).
Host 'ww3.sinanet.com' is known and matches the host key.
Initializing random; seed file /usr/home/ywliu/.ssh/random_seed
Encryption type: idea
Sent encrypted session key.
Received encrypted confirmation.
Trying rhosts or /etc/hosts.equiv with RSA host authentication.
Server refused our rhosts authentication or host key.
No agent.
Doing password authentication.
ywliu's password: 
Requesting pty.
Requesting shell.
Entering interactive session.
Command terminated on signal 1.
tao: {103} 

---
Hoffmann Yen-Wei Liu (Taipei, Taiwan)

"It seems like once people grow up, they have no idea what's cool."
                        - Calvin said to Hobbes, Calvin and Hobbes.

E-mail addr : (Personal) ywliu@tpts4.seed.net.tw
              (Business) ywliu@sinanet.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9703160328.AA13852>