scp exits often with -1

Dave Korn dk@artimi.com
Wed Nov 17 17:18:00 GMT 2004


> -----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.



......  <double-take>  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/



More information about the Cygwin mailing list