Re: timeout parameter not working in Sshexec task

2009-10-16 Thread SachinSr
7; not really working once after the command is finished on the >> remote host using Sshexec task. > > Can you find a Bugzilla issue raised for this? I can't remember seeing > a fix for this and don't find anything in current trunk's WHATSNEW that > looked relate

Re: timeout parameter not working in Sshexec task

2009-10-15 Thread Stefan Bodewig
On 2009-10-15, SachinSr wrote: > I saw from so many Ant user in the internet raising their issue with > 'timeout' not really working once after the command is finished on the > remote host using Sshexec task. Can you find a Bugzilla issue raised for this? I can't rememb

timeout parameter not working in Sshexec task

2009-10-15 Thread SachinSr
Hi, I saw from so many Ant user in the internet raising their issue with 'timeout' not really working once after the command is finished on the remote host using Sshexec task. I'm also facing this same issue and it has become damn critical for me to have this to be worked. So do

Re: Sshexec task hanging

2006-08-09 Thread Steve Loughran
Brown, Carlton wrote: I've got an sshexec task that never exits, and I need to solicit some opinions on the problem. The reasons behind it are well-known; if an ssh command starts a long-running in the background, then ssh doesn't know when it should exit. From the purist standpoin

Sshexec task hanging

2006-08-08 Thread Brown, Carlton
I've got an sshexec task that never exits, and I need to solicit some opinions on the problem. The reasons behind it are well-known; if an ssh command starts a long-running in the background, then ssh doesn't know when it should exit. >From the purist standpoint, this is expected

Re: Question re sshexec task

2005-12-19 Thread Rhino
I'm not sure. I'll check with the system administrator and get back to you Rhino - Original Message - From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Monday, December 19, 2005 2:11 PM Subject: RE: Question r

RE: Question re sshexec task

2005-12-19 Thread Anderson, Rob (Global Trade)
> Also, just a little thing but how do I notify the developer > of this task about the typo in the error message; he/she's > got "invalid" spelled without the 'l'. This is an optional > task so I'm not sure if I have to contact them directly or if > I can get a message to them via this mailing

RE: Question re sshexec task

2005-12-19 Thread Anderson, Rob (Global Trade)
tion re sshexec task > > Is there any problem with blanks or apostrophes within the > name of a keyfile in an sshexec task? I am running Ant 1.6.5 > in Eclipse 3.1.1. > > Our environment changed recently so I need to modify my build > scripts to use keys instead of passwords.

RE: Question re sshexec task

2005-12-19 Thread Rebhan, Gilbert
Hi, Rhino -Original Message- From: Rhino [mailto:[EMAIL PROTECTED] Sent: Monday, December 19, 2005 2:55 PM To: Ant Users List Subject: Re: Question re sshexec task >Oh dear, this looks like it is going to be a lot more involved than just >using the sshexec and scp tasks

Re: Question re sshexec task

2005-12-19 Thread Rhino
ve to start it manually. Rhino - Original Message - From: "Rebhan, Gilbert" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Monday, December 19, 2005 4:25 AM Subject: RE: Question re sshexec task Hi, Rhino -Original Message- From: Rhino [mailto

RE: Question re sshexec task

2005-12-19 Thread Rebhan, Gilbert
Hi, -Original Message- From: glenn opdycke-hansen [mailto:[EMAIL PROTECTED] Sent: Monday, December 19, 2005 1:25 PM To: Ant Users List Subject: Re: Question re sshexec task >Thanks for providing the example of exec. >I have questions: >Which system is the ant script r

Re: Question re sshexec task

2005-12-19 Thread glenn opdycke-hansen
script). rexec has issues, too. --glenn On 12/19/05, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > > Hi, Rhino > > -Original Message- > From: Rhino [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 18, 2005 3:30 PM > To: Ant Users List > Subj

RE: Question re sshexec task

2005-12-19 Thread Rebhan, Gilbert
Hi, Rhino -Original Message- From: Rhino [mailto:[EMAIL PROTECTED] Sent: Sunday, December 18, 2005 3:30 PM To: Ant Users List Subject: Re: Question re sshexec task /* Could you possibly post a small example of the technique you're using? I'm not sure how to combine exec wi

Re: Question re sshexec task

2005-12-18 Thread Rhino
- Original Message - From: "Gilbert Rebhan" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Sunday, December 18, 2005 5:39 AM Subject: Re: Question re sshexec task Hi, Rhino Is there any problem with blanks or apostrophes within the name of a keyfil

Re: Question re sshexec task

2005-12-18 Thread Gilbert Rebhan
Hi, Rhino > Is there any problem with blanks or apostrophes within the name of a > keyfile in an sshexec task? I am running Ant 1.6.5 in Eclipse 3.1.1. > [ ... ] my practical experience with the ssh task and ant 1.6.5 some time ago = didn't work for me on AIX, even with the most a

Question re sshexec task

2005-12-17 Thread Rhino
Is there any problem with blanks or apostrophes within the name of a keyfile in an sshexec task? I am running Ant 1.6.5 in Eclipse 3.1.1. Our environment changed recently so I need to modify my build scripts to use keys instead of passwords. After reading the sshexec article in the Ant manual

RE: Exception while executing SSHEXEC Task

2005-09-26 Thread Anderson, Rob (Global Trade)
Anderson > -Original Message- > From: Karunakar Chatla [mailto:[EMAIL PROTECTED] > Sent: Monday, September 26, 2005 4:31 AM > To: Ant Users List > Subject: Exception while executing SSHEXEC Task > > > Hi, > > I want to run some command on FreeBSD box

Exception while executing SSHEXEC Task

2005-09-26 Thread Karunakar Chatla
Hi, I want to run some command on FreeBSD box from windows box. I am using SSHEXEC task for achieving this. My script looks something like this : I am able to execute this script if I use password property instead of keyfile property. I am getting following exception when executed with

RE: FW: Connection Failures On SSHExec Task

2005-06-20 Thread Anderson, Rob (Global Trade)
gt; Subject: Re: FW: Connection Failures On SSHExec Task > > > Atsuhiko, > > Thanks for your response. Have you/jcraft pursued this > problem any further ? > I moved on to other aspects of my project, after receiving > your note, in the > hope that you might find a w

Re: FW: Connection Failures On SSHExec Task

2005-06-19 Thread Bill Winspur
Atsuhiko, Thanks for your response. Have you/jcraft pursued this problem any further ? I moved on to other aspects of my project, after receiving your note, in the hope that you might find a workaround for the problem. However, I must return to the issue of exploiting SSH in my application very s

RE: Sshexec task, running commands using 'sudo'

2005-06-15 Thread Anderson, Rob (Global Trade)
--- > From: S I [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 15, 2005 3:08 PM > To: user@ant.apache.org > Subject: RE: Sshexec task, running commands using 'sudo' > > > Thank you Rob. After I posted yesterday...our unix Admin did finally > figured it out

RE: Sshexec task, running commands using 'sudo'

2005-06-15 Thread S I
erson, Rob (Global Trade)" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "Ant Users List" Subject: RE: Sshexec task, running commands using 'sudo' Date: Wed, 15 Jun 2005 14:23:15 -0700 MIME-Version: 1.0 Received: from mail.apache.org ([209.237.227.1

RE: Sshexec task, running commands using 'sudo'

2005-06-15 Thread Anderson, Rob (Global Trade)
. There is no security in that method. -Rob A > -Original Message- > From: S I [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 14, 2005 10:17 PM > To: user@ant.apache.org > Subject: RE: Sshexec task, running commands using 'sudo' > > > You just discovered one

RE: Sshexec task, running commands using 'sudo'

2005-06-14 Thread S I
et to get it) resolves this issue. I personally have not got around to it or thank the person who posted and responded to my post. Original Message Follows From: "Rich Harris" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "Ant Users List" Su

RE: Sshexec task, running commands using 'sudo'

2005-06-14 Thread Anderson, Rob (Global Trade)
, June 14, 2005 4:40 PM > To: Ant Users List > Subject: RE: Sshexec task, running commands using 'sudo' > > > An addendum...I noticed that when running 'sudo' commands > manually I get > prompted for my password the first time I use it. That may be > wh

RE: Sshexec task, running commands using 'sudo'

2005-06-14 Thread Rich Harris
Engineer [EMAIL PROTECTED] 650-616-6866 Shopping.com(tm), Inc. Find. Compare. Buy. www.shopping.com -Original Message- From: Rich Harris [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 4:28 PM To: Ant Users List Subject: Sshexec task, running commands using 'sudo' I&

Sshexec task, running commands using 'sudo'

2005-06-14 Thread Rich Harris
I'm having an issue where if I need to run 'sudo' before running a command during my ssh session, it just hangs ant until I escape out of ANT. Has anyone else had this problem? I'm open to ideas as to why this is happening or how I can get around it while staying within the ANT environment. Tha

RE: FW: Connection Failures On SSHExec Task

2005-06-07 Thread Anderson, Rob (Global Trade)
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, June 06, 2005 8:20 AM > To: [EMAIL PROTECTED] > Cc: user@ant.apache.org > Subject: Re: FW: Connection Failures On SSHExec Task > > > Hi, > >+-From: "

RE: Connection Failures On SSHExec Task

2005-06-06 Thread Anderson, Rob (Global Trade)
In this case yes, but that should not matter. -Rob A > -Original Message- > From: Bill Winspur [mailto:[EMAIL PROTECTED] > Sent: Friday, June 03, 2005 8:27 PM > To: Ant Users List > Subject: Re: Connection Failures On SSHExec Task > > > Rob, > Admitted

Re: FW: Connection Failures On SSHExec Task

2005-06-06 Thread Atsuhiko Yamanaka
Hi, +-From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> -- |_Date: Fri, 3 Jun 2005 10:16:53 -0700 __ | |> > > [sshexec] Connecting to xxx.com:22 |> > > [sshexec] root |> > > [sshexec] Connecting to xxx.com:22 |> > > [sshexec] Connecting t

Re: Connection Failures On SSHExec Task

2005-06-04 Thread Steve Cohen
Bill: Can you please set your system clock correctly? It is very disconcerting to see emails in my box dated a month in the future. Bill Winspur wrote: Synopsis I am running ant 6.1.2 on XP Pro and have a test case that produces SSH connection failures by repetitively running the same

Re: Connection Failures On SSHExec Task

2005-06-03 Thread Bill Winspur
Rob, Admittedly, this is an off the wall question, but are your ssh server and client on the same win2k host? Bill. Anderson, Rob (Global Trade) wrote: 1. What OS are you running sshexec on? Win 2k 2. What java version is ant running on ? java version "1.4.2_07" 3. What s

RE: Connection Failures On SSHExec Task

2005-06-03 Thread Anderson, Rob (Global Trade)
> 1. What OS are you running sshexec on? Win 2k > 2. What java version is ant running on ? java version "1.4.2_07" > 3. What ssh server implementation and version are you connecting to > (openssh?), OpenSSH_4.0p1, OpenSSL 0.9.7g 11 Apr 2005 > 4. What OS is the ssh server running on ? Win 2

Re: Connection Failures On SSHExec Task

2005-06-03 Thread Bill Winspur
jsch are you using? When I use jsch 0.1.20 is see the same problem with the output, but I still see BUILD SUCCESSFUL. -Rob Anderson -Original Message- From: Woodchuck [mailto:[EMAIL PROTECTED] Sent: Friday, June 03, 2005 8:32 AM To: Ant Users List Subject: Re: Connection Failures On SS

FW: Connection Failures On SSHExec Task

2005-06-03 Thread Anderson, Rob (Global Trade)
st' > Subject: RE: Connection Failures On SSHExec Task > > > I was able to run the build file successfully using Ant 1.6.2 > with jsch version 0.1.16. This is not a known problem with > sshexec. It may be a problem with jsch. What version of jsch > are you using? When I use jsch

RE: Connection Failures On SSHExec Task

2005-06-03 Thread Anderson, Rob (Global Trade)
. -Rob Anderson > -Original Message- > From: Woodchuck [mailto:[EMAIL PROTECTED] > Sent: Friday, June 03, 2005 8:32 AM > To: Ant Users List > Subject: Re: Connection Failures On SSHExec Task > > > hey, get in line like everyone else! > > use correct time

Re: Connection Failures On SSHExec Task

2005-06-03 Thread Woodchuck
hey, get in line like everyone else! use correct time and dates. i delete all annoying future dated posts --- Bill Winspur <[EMAIL PROTECTED]> wrote: > Synopsis > I am running ant 6.1.2 on XP Pro and have a test > case that produces SSH connection failures by repetitively > running

Connection Failures On SSHExec Task

2005-06-02 Thread Bill Winspur
Synopsis I am running ant 6.1.2 on XP Pro and have a test case that produces SSH connection failures by repetitively running the same task. The first failure occurs after about two thirds (10) of the tasks have executed. At this point ant hangs up for about 2 minutes, then logs the foll

Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread j&h systems
AM > > To: Ant Users List > > Subject: Re: Problem with sshexec task: reject HostKey > > > > > > Hi, > > > > Try setting trust="true" like the following: > > > > > trust="true"> > > > > > > I think if

RE: Problem with sshexec task: reject HostKey

2005-06-01 Thread Anderson, Rob (Global Trade)
You can also set knownhosts=/path/to/your/knownhosts/file. -Rob A > -Original Message- > From: j&h systems [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 01, 2005 10:32 AM > To: Ant Users List > Subject: Re: Problem with sshexec task: reject HostKey > > >

Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread Bill Winspur
heers, Jian On 7/2/05, Bill Winspur <[EMAIL PROTECTED]> wrote: I am using the sshexec task in the following build.xml, under XP Pro From which I get the following console output: E:\swd\devt\eclipseWkspce\Sysadmin\tomcat\ant\ssh-stuff>ant Buildfile: build.xml sshtr

Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread j&h systems
; > > I think if you don't set trust to true, the host key (which is on the > server) will be rejected by your ant ssh task. > > Cheers, > > Jian > > On 7/2/05, Bill Winspur <[EMAIL PROTECTED]> wrote: > > I am using the sshexec task in the follow

Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread j&h systems
Hi, Try setting trust="true" like the following: I think if you don't set trust to true, the host key (which is on the server) will be rejected by your ant ssh task. Cheers, Jian On 7/2/05, Bill Winspur <[EMAIL PROTECTED]> wrote: > I am using the sshexec task in

Problem with sshexec task: reject HostKey

2005-06-01 Thread Bill Winspur
I am using the sshexec task in the following build.xml, under XP Pro From which I get the following console output: E:\swd\devt\eclipseWkspce\Sysadmin\tomcat\ant\ssh-stuff>ant Buildfile: build.xml sshtry: [sshexec] Connecting to xxx.com:22 BUILD FAILED E:\swd\d

RE: SSHExec task

2004-01-21 Thread Anderson, Rob (Global Trade)
PROTECTED]; [EMAIL PROTECTED] Subject: RE: SSHExec task I am using Ant 1.6.It is running very much fine , but only problem is that I want to put the output of command in file with output= option and it is not happening.:-(( my xml looks like this and nothing wrong with this. >>> [EMAIL

Re: SSHExec task

2003-04-04 Thread Dale Anson
Or in your classpath if you can't write to $ANT_HOME/lib. Jesse Stockall wrote: On Friday, April 4, 2003, at 11:03 AM, Samuel Blanchet wrote: Hi all, I'm using the SSHExec task with ant 1.6a but I have this error after starting my script. file:///C:/temp/start_moteur.xml:64: task

Re: SSHExec task

2003-04-04 Thread Jesse Stockall
On Friday, April 4, 2003, at 11:03 AM, Samuel Blanchet wrote: Hi all, I'm using the SSHExec task with ant 1.6a but I have this error after starting my script. file:///C:/temp/start_moteur.xml:64: taskdefA class needed on loading by class o rg.apache.tools.ant.taskdefs.optional.ssh.SS