Yes Robert, the env is the issue. Thanks for the reply.
Regards,
Vinodh' Kumar
Robert Anderson-6 wrote:
>
> This is probably not an ant issue. When you sshexec something on the
> remote
> host, the environment is not setup the same as if you are logged in. Your
> .profile is not sourced and yo
This is probably not an ant issue. When you sshexec something on the remote
host, the environment is not setup the same as if you are logged in. Your
.profile is not sourced and your PATH and other variable can be different.
To troubleshoot this, I suggest running the command outside of ant like
th
> One of the aspects of and is that they dont print out enough
> useful info on failure. That is partly for security reasons -you dont
> want your entire organisation to be able to read the password in the
> cruise control logs. At the same time, we could do a lot to improve the
> diagnostics tha
Michael Giroux wrote:
Thought you might like to know -- the problem turns out to be user
error. I was watching the developer use the script, and I assumed
that when he entered the password for the target useid, that he had
configured the script to use the userid associated w/ the password.
As it
Thought you might like to know -- the problem turns out to be user
error. I was watching the developer use the script, and I assumed
that when he entered the password for the target useid, that he had
configured the script to use the userid associated w/ the password.
As it turns out, he was takin
I personally do not use passphrase, but I'm not sure what the other
developer is using on his system (the one having problems). I'll
check on Monday.
Thanks
Michael
On 9/29/07, Vihan Pandey <[EMAIL PROTECTED]> wrote:
> > I'm using and tasks in a build script. These work
> > well from my own
> I'm using and tasks in a build script. These work
> well from my own PC, but when someone tries to run the script from a
> different computer, the script fails with an authentication error.
>
> I have been using and for so long, I no longer
> remember what I did to resolve this issue when I
it was not picking up all
the system settings that was need. P4ROOT, ANT_HOME, etc.
-Original Message-
From: Bob Noonan [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 7:03 AM
To: Ant Users List
Subject: Re: ssh issue with ant
Since I am having similar problems using ssh/scp from
to a certain env, eg., dev, test, stage, preview and
production.
Hope this helps.
-Original Message-
From: Bob Noonan [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 7:03 AM
To: Ant Users List
Subject: Re: ssh issue with ant
Since I am having similar problems using ssh/scp
Since I am having similar problems using ssh/scp from within an ant
file, I would be grateful if you could elaborate.
Thanks,
Bob Noonan
On Nov 2, 2005, at 5:29 PM, Marcus Zafarano wrote:
Well, I found the problem.
-Original Message-
From: Marcus Zafarano
Sent: Wednesday, November
Well, I found the problem.
-Original Message-
From: Marcus Zafarano
Sent: Wednesday, November 02, 2005 7:14 AM
To: user@ant.apache.org
Subject: ssh issue with ant
Hi,
I am trying to ssh to another system as one user say scm and run as
another user dssjava on another and I get t
I would suggest changing your process slightly. Run Ant on the unix box
where you "dist the project". Of course, I'm not sure what output you
are trying to evaluate, but this may help your situation.
-Rob Anderson
> -Original Message-
> From: Ramnish Kalsi [mailto:[EMAIL PROTECTED]
> Sen
There is an SSH task ... Mor einformation, here :
http://www.jcraft.com/jsch/
\T,
--- Ramnish Kalsi <[EMAIL PROTECTED]> wrote:
> Hi, I am working on a project to automate a build system, and the flow is
> somewhat like this:
>
> 1. ssh into a unix machine.
> 2. Sync the repositor
look at the manual for ssh-keygen. It will allow you create a public
and private keypair. You can then put the public key in the correct
place on the target machine ($HOME/.ssh/authorized_keys), and it should
automatically log you in. See the manual for more information.
-Original Message---
i am using 1.4.1 and 1.5 ant,
i will shift to ant1.6 once our product upgrades.
dont want to rework again with huge ant script already written.
Regards
Vivek Kumar Gupta
Dept.: Switching
Network Programs (I) Ltd.
B-1-C, Sector -10, Noida.
Email: [EMAIL PROTECTED]
Tel: +91-120-2536622/2544781 Ext
t [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 05, 2004 9:51 AM
> To: Ant Users List
> Cc: whatiz usayin
> Subject: Re: SSH based tasks?
>
>
> You want to run an interactive remote shell through ssh from
> an ant script?
>
> Why not just run a non-interactive shell
You want to run an interactive remote shell through ssh from an ant script?
Why not just run a non-interactive shell script (which could run an ant script
for example) via ssh that does what you want on the other end?
That might be easier... You can generate the file and scp it over there, and
On Wed, 19 Mar 2003, Nathan Christiansen <[EMAIL PROTECTED]>
wrote:
> SSH support is landing in the 1.6 release of ant?
It is already there (scp and single command sshexec). You are much
encouraged to try a recent nightly build and help us getting things
stabilized.
Stefan
18 matches
Mail list logo