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 Message-ID: <9e3862d8050110050867b1598a@mail.gmail.com> Date: Tue, 11 Jan 2005 00:08:31 +1100 From: Brett Porter Reply-To: Brett Porter To: cygwin AT cygwin DOT com Subject: Re: SSH client hang running uncompressed tar on various servers In-Reply-To: <20050110124023.GH7748@cygbert.vinschen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <9e3862d80501100309715ff080 AT mail DOT gmail DOT com> <20050110124023 DOT GH7748 AT cygbert DOT vinschen DOT de> X-IsSubscribed: yes Note-from-DJ: This may be spam Hi Corinna, Sorry, I threw that off a bit. I've done some more investigation. in summary: ssh run when forked from java hangs when attempting to output. I don't know if that's cygwin's problem or java's - but if you have any ideas for how I could debug it further than below, I'd appreciate it. Here's what I've found. Other commands that had output also failed (rsync, mkdir when basedir not exist). The tar command I included originally (tar xf) was when I was experimenting, and is now succeeding - but the normal tar I run always fails (xUvf - though, xvf and xUf also fail because both have output). The tar is only 29k, but I think its irrelevant (it happens for any tar). What's weirder: it works when run from bash, but fails when forked from Java (actually, via the program Ant). If I fork "bash -c 'set'", the environment seems normal, so I assume ssh is also getting the normal environment. If I fork bash from java and run ssh, it still fails. If I run ssh from cmd.exe, it succeeds. So it only seems to be the execution of ssh forked within java when there is output from the ssh server that is a problem. Thanks, Brett On Mon, 10 Jan 2005 13:40:23 +0100, Corinna Vinschen wrote: > On Jan 10 22:09, Brett Porter wrote: > > Hi, > > > > I'm having a problem with my SSH client hanging executing a remote > > command extracting an uncompressed tar. This occurs on different > > servers (FreeBSD, localhost Cygwin SSHD, RHL9), though they are all > > SSH2 and I've using the same private DSA key. > > > > Given this, it isn't the tar executable (though I turned off my virus > > scanner just in case). I know this has worked in the past, though I'm > > not sure at what point it may have stopped. It happens on both my > > machines, and I've had reports from other cygwin users using Maven. > > How big is the tar archive? What exact command did you use? Does it > *always* fail? Is it possible to send the tar file (in PM) or does it > contain confidential data? > > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com > Red Hat, Inc. > > -- > 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/ > > -- 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/