Re: sshexec hangs

2008-02-21 Thread Steve Loughran
Z W wrote: Hi I have But for unknown reason, sshexec hangs when executing Ant 1.7 sun_files: [sshexec] Connecting to sun01:22 Why ? Anything I could do to overcome the hanging ? can you telnet to that port by hand? telnet sun01 22 can you ssh to that machine by hand? -- Steve Lou

RE: sshexec hangs after remote script exits

2006-05-11 Thread Brown, Carlton
y, May 02, 2006 11:47 AM > To: Ant Users List > Subject: RE: sshexec hangs after remote script exits > > Did you mean to say ...ssh never detects that the script exits... ? > > What OS are you executing the script on? Can you send the relevant > portion of your build.xml please?

Re: sshexec hangs after remote script exits

2006-05-02 Thread Atsuhiko Yamanaka
Hi, 2006/5/3, Brown, Carlton <[EMAIL PROTECTED]>: I've got an sshexec command that calls a remote script. The remote script can take something like 5-15 minutes to run. Trouble is, the sshexec never detects that the script exists. What have I done wrong? Which ant version are you using? T

Re: sshexec hangs after remote script exits

2006-05-02 Thread Alexey N. Solofnenko
Try first with a simple command (like "ls"). Check if your command requests for input or output. Does your command spawns background processes (for example, starting a web server)? If so, does it redirect stdin, -out, -err streams (for example, "nohup" does not always do that)? Can you try to e

RE: sshexec hangs after remote script exits

2006-05-02 Thread Anderson, Rob (Global Trade)
Did you mean to say ...ssh never detects that the script exits... ? What OS are you executing the script on? Can you send the relevant portion of your build.xml please? What version of ssh server are you running? Also, try to see if you can get a script to return that takes like 2 min, 3 min, etc.