Mail Archives: cygwin/2005/01/10/08:08:45
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
<corinna-cygwin AT cygwin DOT com> 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/
- Raw text -