Re: sshexec and rexec hung

2008-01-30 Thread Z W
Rob I didn't try that. I decided to take Chuck H. suggestion to kill the parent process of the child process that uses. It seems to work now. Appreciate your response. On Jan 30, 2008 3:33 PM, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote: > I think this really depends on what you are

Re: Can't connect to unix server from windows server...

2008-01-30 Thread Atsuhiko Yamanaka
2008/1/31, Christopher Styles <[EMAIL PROTECTED]>: > Hi, > > I'm trying to run a target from my Windows 2003 Server build box to connect > to a solaris server to execute a command, but I'm getting " > com.jcraft.jsch.JSchException: Auth fail"... Does anyone know how to resolve > this issue...?? Wh

RE: sshexec and rexec hung

2008-01-30 Thread Anderson, Rob (Global Trade)
I think this really depends on what you are executing with your shell script. Do the same scripts hang when you execute outside ant, using rexec or ssh? Try using nohup and be sure to background any processes you start. -Rob A -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent:

RE: Can't connect to unix server from windows server...

2008-01-30 Thread Anderson, Rob (Global Trade)
the ${username},${password},${hostname} in your target and make sure they are set to what you expect. What version of jsch.jar are you using? -Rob Anderson -Original Message- From: Christopher Styles [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 9:36 AM To: Ant Users List

Re: Can't connect to unix server from windows server...

2008-01-30 Thread Christopher Styles
Yes, I can connect via Putty... I'm thinking maybe my jsch.jar is out of date... Although, I'm not sure that's the issue... On 1/30/08, Steve Loughran <[EMAIL PROTECTED]> wrote: > > Christopher Styles wrote: > > Hi, > > > > I'm trying to run a target from my Windows 2003 Server build box to >

Re: Can't connect to unix server from windows server...

2008-01-30 Thread Steve Loughran
Christopher Styles wrote: Hi, I'm trying to run a target from my Windows 2003 Server build box to connect to a solaris server to execute a command, but I'm getting " com.jcraft.jsch.JSchException: Auth fail"... Does anyone know how to resolve this issue...?? this generally means it didnt

Can't connect to unix server from windows server...

2008-01-30 Thread Christopher Styles
Hi, I'm trying to run a target from my Windows 2003 Server build box to connect to a solaris server to execute a command, but I'm getting " com.jcraft.jsch.JSchException: Auth fail"... Does anyone know how to resolve this issue...?? Thanks Chris