From owner-ssh@clinet.fi  Thu May 31 18:29:27 2001
Received: from smtp1.clinet.fi (smtp1.clinet.fi [194.100.2.57])
	by hutcs.cs.hut.fi (8.9.3/8.9.3) with ESMTP id SAA15621
	for <ssh-archiver@cs.hut.fi>; Thu, 31 May 2001 18:29:27 +0300 (EET DST)
Received: from mail.clinet.fi (mail.clinet.fi [194.100.0.7])
	by smtp1.clinet.fi (Postfix) with ESMTP
	id AE213211CC; Thu, 31 May 2001 18:29:26 +0300 (EEST)
Received: (from majordom@localhost)
	by mail.clinet.fi (8.9.3/8.9.3) id SAA31957
	for ssh-outgoing; Thu, 31 May 2001 18:11:46 +0300
Received: from esa.nascom.nasa.gov (esa.nascom.nasa.gov [150.144.30.91])
	by mail.clinet.fi (8.9.3/8.9.3) with ESMTP id SAA31953
	for <ssh@clinet.fi>; Thu, 31 May 2001 18:11:44 +0300
Received: from ruda.nascom.nasa.gov (ruda [150.144.30.110])
	by esa.nascom.nasa.gov (8.9.3+Sun/8.9.1) with ESMTP id LAA09365
	for <ssh@clinet.fi>; Thu, 31 May 2001 11:11:32 -0400 (EDT)
Received: from ruda (ruda [150.144.30.110])
	by ruda.nascom.nasa.gov (8.9.3+Sun/8.9.3) with SMTP id LAA05409
	for <ssh@clinet.fi>; Thu, 31 May 2001 11:11:32 -0400 (EDT)
Message-Id: <200105311511.LAA05409@ruda.nascom.nasa.gov>
Date: Thu, 31 May 2001 11:11:32 -0400 (EDT)
From: George Dimitoglou <george@esa.nascom.nasa.gov>
Reply-To: George Dimitoglou <george@esa.nascom.nasa.gov>
Subject: OpenSSH, sftp problems
To: ssh@clinet.fi
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: gS4HwfDJvOKDNWBEyIyxWQ==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc 
Sender: owner-ssh@clinet.fi
Precedence: bulk

Hi - 

We have been fighting this issue quite some time now 

We are in a Tru64 4.0F environment, running C2 security and TCP
Wrappers.

We are using OpenSSH_2.5.1p2
	     OpenSSL 0.9.5 28 Feb 2000
	     Zlib 1.1.3
	     
for remote sessions and all works ok with ssh but we have many problems
with sftp.

Namely, the session ends when a user issues an 'ls' command during a
sftp session.  The following debug output may give someone a hint.


Any help would be greatly appreciated.



	host1.mydomain.comsftp georged@machine.domain.gov
	
				:
				:
			(snipped authentication output) 
				:
				:
	Sftp2/sftp2.c:2205: buffer: 'AUTHENTICATED YES
						      '
	debug: SshTtyFlags/sshttyflags.c:294: Not a tty. (fd = 0)
	sftpls
	SshFCGlob/sshfc_glob.c:299: Adding file . to file list without 
globbing...
	SshFCGlob/sshfc_glob.c:242: File list is at it's end.
	SshFCGlob/sshfc_glob.c:76: Destroying global data...
	SshFCRecurse/sshfc_recurse.c:180: File is "raw", and it needs to be 
parsed.
	SshFCRecurse/sshfc_recurse.c:258: File . is a directory. Starting 
recursion...
	SshFCRecurse/sshfc_recurse.c:877: Opening directory ....
	.
	Warning: ssh_packet_wrapper_input: invalid packet received: len 
1399154545 closing the offending input channel.
	SshFCRecurse/sshfc_recurse.c:972: Connection down, re-establishing...
	FATAL: find_state_by_name: cannot find a state w/ name `fcr_lstat_file'.
	host1.mydomain.comdebug: Ssh2ChannelSession/sshchsession.c:1306: 
received exit status : 139
	debug: Ssh2Common/sshcommon.c:660: num_channels now 0
	debug: Got session close with exit_status=139
	debug: destroying client struct...
	debug: uninitializing event loop
	
	host1.mydomain.com


----------------------------------------
George Dimitoglou 
Emergent-IT, Space Sciences Division

SOHO ESA/NASA Project Scientist Team 
Laboratory of Astronomy & Solar Physics
NASA Goddard Space Flight Center
Bldg. 26, G-1, Code 682.3
Greenbelt, MD 20771

george@esa.nascom.nasa.gov
----------------------------------------


