Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Dave Korn" To: Subject: RE: scp exits often with -1 Date: Wed, 17 Nov 2004 17:17:33 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" In-Reply-To: Message-ID: X-OriginalArrivalTime: 17 Nov 2004 17:17:33.0875 (UTC) FILETIME=[53BF3830:01C4CCC9] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iAHHIvCl010244 > -----Original Message----- > From: cygwin-owner On Behalf Of Jörg Schaible > Sent: 16 November 2004 17:39 > Hi folks, > > after upgrading to latest cygwin1.dll and openssh I have > massive problems with ssh/scp. Using e.g. the same scp > command it fails from time to time called from the command > line. Unfortunately it fails more often when called from a > shell script and quite every time when this shell script is > called from a DOS batch called by a Java app. > > See the output of scp -v -v in the good version: [snip] > The singel difference is, that in the successful case the > client sends an exit-state, that is not received in the > unseccussful version. The problem manifests more often with > using a shell script and a DOS batch: [snip] > Worst case is calling the scpwin.bat from within Java (app > also started from the bash shell) using > Runtime.exec(Object[]). Then it fails nearly every time. > > Any other information I can provide ? > > - Jörg Sure. How about 200k of unintelligible gibberish? I'm sure we'd all _love_ to see it. ...... Woahhhh! cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/