Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <911C684A29ACD311921800508B7293BA010A8B68@cnmail> From: Mark Bradshaw To: "'Hartmann, Josef'" , cygwin AT cygwin DOT com Subject: RE: sftp->ls creates sftp-server.exe.stackdump Date: Mon, 6 Aug 2001 10:09:45 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" This is a known (and patched) bug. Unfortunately, the patch won't make it into normal circulation until the new cygwin dll shows up. You can do one of three things to fix this. 1) Use scp until the new dll gets released 2) Find the patch that was published in the list archives and rebuild the dll 3) Get the newest development snapshot which may or may not cause other problems Mark > -----Original Message----- > From: Hartmann, Josef [mailto:hartmann AT secunet DOT de] > Sent: Monday, August 06, 2001 12:59 AM > To: cygwin AT cygwin DOT com > Subject: sftp->ls creates sftp-server.exe.stackdump > > > Hi, > > > I have successfully setup openssh (openssh-2.9p2-3.tar.bz2) > on my nt4sp6a > system. Logging on and scp works quite fine. However I am not > able to get > sftp to work. I installed sshd as service using cygrunsrv: > $ cygrunsrv.exe -I sshd -p /usr/sbin/sshd -a '-d -d -d' -d > 'Cygwin SSHD' -e > 'CY > GWIN=ntsec' -1 /tmp/sshd.out -2 /tmp/sshd.err > > Furthermore /etc/sshd_config is setup to run sftp: > #Uncomment if you want to enable sftp > Subsystem sftp /usr/sbin/sftp-server > > > Now when I run sftp -vvv hartmann AT localhost everything works > fine. I get > authenticated and logged in. However when I run "ls" > sftp-server.exe.stackdump (attached) is created and the > client is locked. I > can only press CTRL-C in order to get back to the shell. > ------------------------------------------------- sftp session: > sftp> put /tmp/sshd.out . > debug3: Looking up /tmp/sshd.out > debug3: Sent message fd 6 T:17 I:2 > debug3: Received stat reply T:105 I:2 > Uploading /tmp/sshd.out to /home/hartmann/./sshd.out > debug3: Sent message SSH2_FXP_OPEN I:3 P:/home/hartmann/./sshd.out > debug3: Sent message SSH2_FXP_CLOSE I:4 > debug3: SSH2_FXP_STATUS 0 > sftp> ls > debug3: Sending SSH2_FXP_READDIR I:6 > debug3: Received reply T:104 I:6 > debug3: Received 7 SSH2_FXP_NAME responses > drwxrwxrwx 3 hartmann Kein 4096 Aug 15:28 . > drwxrwxrwx 3 hartmann Kein 0 Jul 17:32 .. > -rw------- 1 hartmann Kein 2069 Aug 08:46 .bash_history > drwx------ 2 hartmann Kein 4096 Aug 05:52 .ssh > -rw------- 1 hartmann Kein 687 Aug 15:26 .viminfo > -rwxrwxrwx 1 hartmann Kein 1060 Aug 15:18 > sftp-server.exe.stackdump > -rw-r--r-- 1 hartmann Kein 0 Aug 15:28 sshd.out > debug3: Sending SSH2_FXP_READDIR I:7 > Killed by signal 2. > debug1: Calling cleanup 0x415b0c(0x0) > debug1: Calling cleanup 0x4190c8(0x0) > ---------------------------------------------------- sshd.err log > subsystem request for sftp > debug1: subsystem: exec() /usr/sbin/sftp-server > debug1: fd 8 setting O_NONBLOCK > debug1: fd 7 setting O_NONBLOCK > debug2: callback done > Connection closed by remote host. > Closing connection to 127.0.0.1 > -------------------------------------------------------- > <> > > > Regards, > Josef > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/