RE: Build directly on machine vs. SSH to machine and start build

2012-05-11 Thread Echlin, Robert
sday, May 08, 2012 12:01 PM To: Ant Users List Subject: Re: Build directly on machine vs. SSH to machine and start build Thanks Rob!  So here's what I'm seeing which doesn't make sense to me:   bash-3.2$ ssh buildUser@buildMachine [buildUser@buildMachine] /home/buildUser-> echo

Re: Build directly on machine vs. SSH to machine and start build

2012-05-08 Thread Eric Fetzer
Thanks Rob!  So here's what I'm seeing which doesn't make sense to me:   bash-3.2$ ssh buildUser@buildMachine [buildUser@buildMachine] /home/buildUser-> echo $HOSTNAME buildMachine [buildUser@buildMachine] /home/buildUser->     So $HOSTNAME IS already set.  Maybe that's n

RE: Build directly on machine vs. SSH to machine and start build

2012-05-08 Thread Echlin, Robert
Hi Eric, Since builduser has bash as the default shell, you will be in the bash shell. You can do some testing. Remember that you can probably run ssh from the host. ssh -f builduser@buildMachine "echo Computername is set to: $COMPUTERNAME" I think the script is assuming that H

Re: Build directly on machine vs. SSH to machine and start build

2012-05-08 Thread Eric Fetzer
Bash is this user's default shell. On May 8, 2012, at 9:41 AM, Eric Fetzer wrote: > Robert, > > Notice in my command: > >>>> ssh -f builduser@buildMachine ". ~/.bash_profile;cd >>>> /app/rosstr/build;/opt/apache-ant-1.7.1/bin/ant -f build.xml

Re: Build directly on machine vs. SSH to machine and start build

2012-05-08 Thread Eric Fetzer
Robert, Notice in my command: >>> ssh -f builduser@buildMachine ". ~/.bash_profile;cd >>> /app/rosstr/build;/opt/apache-ant-1.7.1/bin/ant -f build.xml >>> -Dfull.buildnumber=3.0.2.8 that I'm sourcing my bash profile, which also runs .bashrc. Will this

RE: Build directly on machine vs. SSH to machine and start build

2012-05-08 Thread Echlin, Robert
".profile"). The login environment should also run "/etc/profile" for you when you login. Your system doesn't seem to be running bash when you ssh in to run a script. That's why you have to run "bash" when you login. It may be running sh, ksh, csh or som

Re: Build directly on machine vs. SSH to machine and start build

2012-05-07 Thread Eric Fetzer
ng with -v, I get this: >> >> [property] Loading Environment env. >> Property "env.COMPUTERNAME" has not been set >> >> And then the code below tries to import a property file that doesn't exist: >> >> >> >> >>

Re: Build directly on machine vs. SSH to machine and start build

2012-05-07 Thread Simon Murcott
de below tries to import a property file that doesn't exist: > > > > > > > > > > > > Anyone know of a way to make this work from an ssh call? Seems like it would > be fine because even when I'm ru

Re: Build directly on machine vs. SSH to machine and start build

2012-05-07 Thread Eric Fetzer
sn't exist:                                 Anyone know of a way to make this work from an ssh call?  Seems like it would be fine because even when I'm running this from a manual login, it's after sshing from my own machine to this build machine...   Thanks, Eric __

RE: Build directly on machine vs. SSH to machine and start build

2012-05-07 Thread Perrier, Nathan
Add -v in your call (or -debug): ant [-v|-d] -f build.xml -Original Message- From: Eric Fetzer [mailto:elstonk...@yahoo.com] Sent: Monday, May 07, 2012 2:12 PM To: Ant Users Subject: Build directly on machine vs. SSH to machine and start build This is very strange to me.  Here

Build directly on machine vs. SSH to machine and start build

2012-05-07 Thread Eric Fetzer
t machine:     >ssh -f builduser@buildMachine ". ~/.bash_profile;cd /app/rosstr/build;/opt/apache-ant-1.7.1/bin/ant -f build.xml -Dfull.buildnumber=3.0.2.8 2)  There are 7 different apps that get built in the build.xml file.  Each get called by the ant task.  Only one of them fails with

Re: ant exec task: ssh username contains spaces, how to escape?

2011-02-04 Thread Antoine Levy-Lambert
UL Total time: 0 seconds Can you test the same on your Mac ? If it behaves the same as what I am showing, it would mean that the ssh command line client does not support user name argument when it is splitted by spaces. Regards, Antoine On 2/2/2011 3:44 AM, Stein Inge Morisbak wrote: That

Re: ant exec task: ssh username contains spaces, how to escape?

2011-02-02 Thread Stein Inge Morisbak
That's what I thought also, but in practice it doesn't work, at least not on my machine (mac os x) I know about the sshexec task, but the problem with this task is that it is not possible to give options to the ssh command. I left that out in my example, but I need to give the '

Re: ant exec task: ssh username contains spaces, how to escape?

2011-02-01 Thread Antoine Levy-Lambert
Hi, in theory, this should work : when you use I am trying to call ssh using the ant exec task from maven. My problem is that I can't figure out how to escape spaces in usernames. I have tried: - To unsubs

ant exec task: ssh username contains spaces, how to escape?

2011-02-01 Thread Stein Inge Morisbak
I am trying to call ssh using the ant exec task from maven. My problem is that I can't figure out how to escape spaces in usernames. I have tried: ... and also: ... and finally: ... but no luck :-( Any

Re: ssh exectuion failure from build task in

2010-03-01 Thread vino_hymi
e is not sourced and your PATH and other variable can be different. > To troubleshoot this, I suggest running the command outside of ant like > this... > > ssh u...@host 'command' > > You will probably get the same error. You'll probably need to source your &

Re: ssh exectuion failure from build task in

2010-03-01 Thread Robert Anderson
this... ssh u...@host 'command' You will probably get the same error. You'll probably need to source your .profile... ssh u...@host '. .profile ; command' Once you get it working outside of Ant, then put the working command into your ant build file. -Rob Anderson On M

ssh exectuion failure from build task in

2010-02-22 Thread vino_hymi
. --- all the values are places in properties file. Let me know if any information required from my side . Regards, Vinodh' Kumar -- View this message in context: http://old.nabble.com/ssh-exectuion-failure-from-build-task-in-tp27699231p27699231.html Sent from the Ant -

Re: access cvs with ssh in windows

2009-09-08 Thread Michael Ludwig
l suport for ssh in ant runinnig in windows ? Install PuTTY, read the documentation, and set up plink to work with your your CVS client. http://www.chiark.greenend.org.uk/~sgtatham/putty/ http://hurring.com/scott/howto/cvs_ssh/ Mi

Re: access cvs with ssh in windows

2009-09-07 Thread supareno
Júlio, you can install cygwin: http://www.cygwin.com/ it will emulate ssh supareno Hello I am trying t access a cvs server from a ant task (running in a Windows system)..When a test in a Linux system everything goes right..but in windows the task doesnot conect in the cvs server.. the output

access cvs with ssh in windows

2009-09-04 Thread Júlio Cesar Bueno Cotta
Hello I am trying t access a cvs server from a ant task (running in a Windows system)..When a test in a Linux system everything goes right..but in windows the task doesnot conect in the cvs server.. the output in Windows [cvs] cvs rdiff: warning: unrecognized response `'ssh' nÆo ‚ r

Re: How to enable compression in SSH/SCP task?

2009-07-21 Thread Stefan Bodewig
On 2009-07-21, Atsuhiko Yamanaka wrote: > Hi, > On Tue, Jul 21, 2009 at 4:14 AM, Avlesh Singh wrote: >>> I would like to know if it is possible to enable compression on SCP task? >> Find details on filing bugs here - http://ant.apache.org/bugs.html for reference:

Re: How to enable compression in SSH/SCP task?

2009-07-21 Thread Atsuhiko Yamanaka
Hi, On Tue, Jul 21, 2009 at 4:14 AM, Avlesh Singh wrote: >> >> I would like to know if it is possible to enable compression on SCP task? >> If it is, how? >> > AFAIK, the compression option is currently not supported in the scp task. > Using the old school exec task in this manner - ...>, might b

Re: How to enable compression in SSH/SCP task?

2009-07-20 Thread Avlesh Singh
> > I would like to know if it is possible to enable compression on SCP task? > If it is, how? > AFAIK, the compression option is currently not supported in the scp task. Using the old school exec task in this manner - , might be a quick workaround. If this is currently not possible, where and how

How to enable compression in SSH/SCP task?

2009-07-20 Thread Damjan Perenic
Hello, I would like to know if it is possible to enable compression on SCP task? If it is, how? If this is currently not possible, where and how can I log an enhancement request? On the ant website it says write on the mailing list. Is this offical way to log enhancement request? Kind regards, D

ssh vs scp

2009-06-16 Thread ext-simon.steiner
Hi, It would be better if these tasks were consistant. SCP has: passphrase Passphrase for your private key.Yes, if you are using key based authentication. SSH has: passphrase Passphrase for your private key.No, defaults to an empty string. http://ant.apache.org

Re: CVS with SSH

2009-04-03 Thread David Weintraub
2009/4/2 Henning Lötsch : > Hello David, > > i found: > In addition to pserver, CVS supports the ext method (which uses an > external connection program, such as rsh or ssh), kserver (for the > Kerberos security system version 4), and gserver (which uses the GSSAPI, > or Gene

Re: CVS with SSH

2009-04-02 Thread Henning Lötsch
Hello David, i found: In addition to pserver, CVS supports the ext method (which uses an external connection program, such as rsh or ssh), kserver (for the Kerberos security system version 4), and gserver (which uses the GSSAPI, or Generic Security Services API, and also handles Kerberos versions

Re: CVS with SSH

2009-04-02 Thread Henning Lötsch
(You need antconrtrib for the if-task. you see in the target "checkout" i have replaced the property "cvsroot" with ":ext:${us...@${server}:${rep}", so normaly the depend attribute is not necessary in the code down. Henning Michael Hüttermann schrieb: > in

Re: CVS with SSH

2009-03-31 Thread David Weintraub
2009/3/30 Henning Lötsch : > i use this target: > >   >          cvsRoot=":ext:${us...@${server}:${rep}" >      package="${package}" >      dest="${dest}" >    /> >   But how does CVS know to use ssh instead of rsh which is normally the def

Re: CVS with SSH

2009-03-31 Thread Francis Galiegue
Le lundi 30 mars 2009, Michael Hüttermann a écrit : > the OS is Windows. > you mean I can only use that by putting the command inside a ? > How would the exec look like to do the connection via SSH ? > Thanks !! > You can set environment variables in Windows if you use a ba

Re: CVS with SSH

2009-03-30 Thread Michael Hüttermann
interesting !! .. this does work for SSH? How does the target "create.cvsroot" look like ? Henning Lötsch schrieb: i use this target: Francis Galiegue schrieb: Le Monday 30 March 2009 19:29:09 Michael Hüttermann, vous avez écrit : hmmm ok .. but how would th

Re: CVS with SSH

2009-03-30 Thread Henning Lötsch
i use this target: Francis Galiegue schrieb: > Le Monday 30 March 2009 19:29:09 Michael Hüttermann, vous avez écrit : >> hmmm ok .. but how would the cvs task itself then look like ? >> Thanks!! >> > > You can't do that unless you the CVS command, as far as I've read so > far. > >

Re: CVS with SSH

2009-03-30 Thread David Weintraub
You can set the CVSROOT via the task, but what you cannot do is set CVS_RSH environment variable which is needed to point to your ssh command that you're using to access CVS. The only way around this is to execute CVS via the . The task allows you to set environment variables and then ru

Re: CVS with SSH

2009-03-30 Thread Michael Hüttermann
hmm .. does it work with CVS? Actually I do want to start the cvs commands on my machine (not on the remote machine using sshexec) connecting the server with SSH .. or ? Thanks ! Martin Gainty schrieb: Did you try using SSHExec ANT Task? http://ant.apache.org/manual/OptionalTasks

RE: CVS with SSH

2009-03-30 Thread Martin Gainty
content provided. > Date: Mon, 30 Mar 2009 19:59:18 +0200 > From: mich...@huettermann.net > To: user@ant.apache.org > Subject: Re: CVS with SSH > > the OS is Windows. > you mean I can only use that by putting the command inside a ? > How would the exec look like to d

Re: CVS with SSH

2009-03-30 Thread Michael Hüttermann
the OS is Windows. you mean I can only use that by putting the command inside a ? How would the exec look like to do the connection via SSH ? Thanks !! Francis Galiegue schrieb: Le Monday 30 March 2009 19:29:09 Michael Hüttermann, vous avez écrit : hmmm ok .. but how would the cvs task

Re: CVS with SSH

2009-03-30 Thread Francis Galiegue
Le Monday 30 March 2009 19:29:09 Michael Hüttermann, vous avez écrit : > hmmm ok .. but how would the cvs task itself then look like ? > Thanks!! > You can't do that unless you the CVS command, as far as I've read so far. What OS do you run? If Unix-like (that includes Linux), what shell do you

Re: CVS with SSH

2009-03-30 Thread Michael Hüttermann
hmmm ok .. but how would the cvs task itself then look like ? Thanks!! Francis Galiegue schrieb: Le Monday 30 March 2009 18:43:15 Michael Hüttermann, vous avez écrit : Hello, what is the recommended way to connect CVS via SSH using Ant ? Thank you ! You should set CVS_RSH the

Re: CVS with SSH

2009-03-30 Thread Francis Galiegue
Le Monday 30 March 2009 18:43:15 Michael Hüttermann, vous avez écrit : > Hello, > > what is the recommended way to connect CVS via SSH using Ant ? > > Thank you ! > You should set CVS_RSH the environment variable to "ssh" (without the quotes, of course). -- Franci

CVS with SSH

2009-03-30 Thread Michael Hüttermann
Hello, what is the recommended way to connect CVS via SSH using Ant ? Thank you ! Regards Michael - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Endless recursion with ssh resolver

2008-11-25 Thread Maarten Coene
uesday, November 25, 2008 10:13:08 AM Subject: Re: Endless recursion with ssh resolver Hello Maarten, i've tried it with ivy 2.0.0 beta2 and rc2 in combination with jsch version 0.1.31. The error is always: java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException The jar is in the cl

Random connection resets using ssh task

2008-10-13 Thread Dave
I'm seeing random disconnect errors when I use the ssh task.I've recently setup ssh with a windows server client logging into a windows server running cygwin sshd. There seems to be periodic connection issues. I can connect and execute tasks for example say 10 runs, then the next run su

ivy:publish / ssh

2008-06-02 Thread Tobias . Himstedt
Hi there, I'm not an Ivy nor ssh expert, so forgive me if this a dumb request. Currently I'm not able to use ivy:publish in conjunction with ssh on our server (=> Auth fail). As far as I understood it, it has someting to do with the way the password is handled over and

SSH, Publish, Mode, and the bleeding edge..

2008-05-21 Thread astrien
when using the ssh tag in ivysettings. I've found that the problem comes from a line in SshRepository.put(), line 264. When a new Scp instance is created and put is called on it, there's a mode argument that is being filled by SshRepository.publishPermissions, which is null. The fu

NullPointer with ssh/sftp

2008-02-04 Thread Neil Lott
g4j;1.2.8 [interface->*] [ivy:retrieve] tried /home/maven/repository/log4j/log4j/1.2.8/log4j-1.2.8.pom [ivy:retrieve] :: SSH :: connecting to 10.143.8.95... [ivy:retrieve] :: SSH :: connected to 10.143.8.95! [ivy:retrieve] null: found md file for log4j#log4j;1.2.8 [ivy:re

RE: download a set of using ssh example ?

2007-12-10 Thread Bourzeix , Hervé
I often use google search code : here is a search for ssh task within build.xml file. http://www.google.com/codesearch?hl=fr&lr=&q=ssh+file%3Abuild.xml&btnG=Rechercher regards, -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 10:55

AW: download a set of using ssh example ?

2007-12-10 Thread Jan.Materne
http://ant.apache.org/manual/OptionalTasks/scp.html Jan > -Ursprüngliche Nachricht- > Von: Z W [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 10. Dezember 2007 10:55 > An: user@ant.apache.org > Betreff: download a set of using ssh example ? > > Hi > >

download a set of using ssh example ?

2007-12-10 Thread Z W
Hi Could someone share a code example using ssh in ant to download a set of files from a remote server ? I could only find examples of uploading files to a remote server using ssh in ant. Thank you.

Re: SSH Authentication Errors

2007-10-03 Thread Michael Giroux
gt; diagnostics that are there right now, if someone was to sit down and > write the code and the error messages (oh, and the tests ) Another aspect of these tasks is that most of us (at least at my site) are not experts in ssh and the variety of protection schemes. While digging into this prob

Re: SSH Authentication Errors

2007-10-02 Thread Steve Loughran
it turns out, he was taking the default which in this script is ${user.name} for which he does not have an account on the remote system. After he configured the correct userid for the ssh commands all worked well. One more thing I'll have to add to the documentation for this script. Michael

Re: SSH Authentication Errors

2007-10-01 Thread Michael Giroux
taking the default which in this script is ${user.name} for which he does not have an account on the remote system. After he configured the correct userid for the ssh commands all worked well. One more thing I'll have to add to the documentation for this script. Michael On 9/30/07, Michael G

Re: SSH Authentication Errors

2007-09-30 Thread Michael Giroux
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

Re: SSH Authentication Errors

2007-09-29 Thread Vihan Pandey
> 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

SSH Authentication Errors

2007-09-28 Thread Michael Giroux
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 had it. We

Re: ant, rsync and ssh passphrase

2006-08-21 Thread Michael Bauroth
Thank you Antoine! Regards Michael Antoine Levy-Lambert wrote: Hi, if the implementation of rsync asks for the passphrase on the console and not from stdin (programs like su or login do this for their query of password) there is no way you can give the passphrase when starting rsync using

Re: ant, rsync and ssh passphrase

2006-08-21 Thread Antoine Levy-Lambert
a shell script. Shell languages cannot either feed the console, only stdin. So the solution would be to rewrite rsync in java. A lot of work probably. Regards, Antoine On Aug 16, 2006, at 1:35 PM, Michael Bauroth wrote: Hi, does there exist an option to use rsync with ssh + password

ant, rsync and ssh passphrase

2006-08-16 Thread Michael Bauroth
Hi, does there exist an option to use rsync with ssh + password/passphrase from within ANT too? If so, how can I call it? Any help would be great. Regards Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

returncode with maverick task ssh/exec ?!

2006-06-14 Thread Rebhan, Gilbert
Hi, anyone using the maverick ant task for ssh and starting a script with exec ? http://www.sshtools.com/showMaverickAntTask.do For sftp stuff maverick is great - recommended !!, but for exec ... I would like to use maverick for starting a ksh script on the remote machine, but the exec

RE: ssh issue with ant

2005-11-03 Thread Marcus Zafarano
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

RE: ssh issue with ant

2005-11-03 Thread Marcus Zafarano
.profile to source the #7 7) Setup .bashrc 8) Setup ssh & rsync 9) etc Make sure you standardize all the systems 3rd party apps and configs. It may require that you work with IT to be able to setup the proper keys, sudo users, users,

Re: ssh issue with ant

2005-11-03 Thread Bob Noonan
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

RE: ssh issue with ant

2005-11-02 Thread Marcus Zafarano
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

ssh issue with ant

2005-11-02 Thread Marcus Zafarano
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 this error (Linux). I do source the .bashrc when I ssh over but I still get this problem. I have checked all it suggests, but still no go. I do it manually ssh [EMAIL

RE: ssh advice

2005-09-20 Thread Anderson, Rob (Global Trade)
ilto:[EMAIL PROTECTED] > Sent: Friday, September 16, 2005 4:19 AM > To: Ant Users List > Subject: ssh advice > > 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 repository &

Re: ssh advice

2005-09-18 Thread duvelbier-tsmets
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 machi

ssh advice

2005-09-16 Thread Ramnish Kalsi
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 repository 3. dist the projects. 4. ssh into application-specific unix boxes and deploy appropriate apps to appropriate boxes. How can i gather the output of

RE: Sync inside scp/ssh ?

2005-08-22 Thread Rebhan, Gilbert
Hi, -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Monday, August 22, 2005 4:39 PM To: Ant Users List Subject: Re: Sync inside scp/ssh ? /* Only local. I even initially called it , for local sync to contrast with Unix' rsync command, but Stefan renam

Re: Sync inside scp/ssh ?

2005-08-22 Thread Dominique Devienne
Only local. I even initially called it , for local sync to contrast with Unix' rsync command, but Stefan renamed it when he integrated it to Ant. Plus most of the job done by sync is to actually figure out what changed between the two trees, which you already get thru your custom parsing of the C

Sync inside scp/ssh ?

2005-08-22 Thread Rebhan, Gilbert
oreach task every file out of this two generated files is either copied to or deleted on several remote servers (ssh) Question = it would be a lot easier to do with , if possible As there's no example available in the ant manual : Is it possible to use the sync task with remote targets or doe

Re: [offtopic] ClearCase/cleartool with ssh ?

2005-07-04 Thread Alexey N. Solofnenko
With SSH you can run anything on a remote computer (much like rexec). You can just use for that. Please configure SSH to use key authentication, so no password is requested. - Alexey. Rebhan, Gilbert wrote: Offtopic, but as there are a couple of ClearCase users around on that list and

[offtopic] ClearCase/cleartool with ssh ?

2005-07-04 Thread Rebhan, Gilbert
Offtopic, but as there are a couple of ClearCase users around on that list and google didn't bring up anything. In our buildprocess we want to use a ClearCase snapshotview on a remote unix machine. But no telnet / ftp allowed. Is there any possiblity to run the ClearCase client wit

Re: Checking out with CVS_RSH=ssh using ant

2005-05-27 Thread Antoine Levy-Lambert
Hello Todd, have a look at the task, maybe you would need to use it. It contains also a caveat concerning CVSNT. Which cvs.exe are you using ? And which ssh ? You might want to start ant with -debug or -verbose as a command line option, I think that in this case the command lines which are

RE: Checking out with CVS_RSH=ssh using ant

2005-05-25 Thread Jay Burgess
Since at least one other person is interested, here are the steps I went through. Two personal caveats: * My client OS is Windows XP. * I use Pageant for SSH authentication, so it will change your authentication process if you don't. (Tip: If you end up using Pageant, and you want

RE: Checking out with CVS_RSH=ssh using ant

2005-05-25 Thread Jay Burgess
tails. Jay | Jay Burgess [Vertical Technology Group] | "Essential Technology Links via RSS" | http://www.vtgroup.com/ -Original Message- From: Todd Nine Sent: 2005-05-24 22:04:32 Subject: Checking out with CVS_RSH=ssh using ant Hi all, I'm trying to execute an ant target th

Checking out with CVS_RSH=ssh using ant

2005-05-24 Thread Todd Nine
is my cvs task. cvsroot ${cvsroot} checking out from ${cvs.repository}/${environment} environment ${environment} Below is the verbose output from the ssh task. cvscheckout: [echo] cvsroot :ext:[EMAIL PROTECTED]:/a01/proj/CVS [echo] checking out from serverconfig/atatest [echo] environme

Re: Help with some shell script and ssh command problems...

2005-04-14 Thread Ricky Clarkson
>From the SSH man page: (B (B"Using the default values for (B PreferredAuthentications, the client will try to authenticate first using (B the hostbased method; if this method fails, public key authentication is (B attempted, and finally if this method fails, key

Re: Help with some shell script and ssh command problems...

2005-04-12 Thread Rhino
From: "Baz" <[EMAIL PROTECTED]> To: "Ant Users List" ; <[EMAIL PROTECTED]> Sent: Tuesday, April 12, 2005 11:37 AM Subject: Help with some shell script and ssh command problems... > Hi all, > > I know this might be a little off the topic but i know this group ca

Help with some shell script and ssh command problems...

2005-04-12 Thread Baz
Hi all, I know this might be a little off the topic but i know this group can help me with my questions. I am trying to execute a ssh command from a shell script. When execute, this script build.sh fine if i do: ./build.sh However, if i do: ./build.sh > logfile 2>&1 ,the ssh command

Ant + cvs + SSH

2005-04-06 Thread Darin Swanson
Hello, I have a problem with cvs running with ssh from Ant. Connecting to cvs directly from the commandline works as expected. When I attempt the same cvs incantation running the cvs task from Ant it just seems to hang. The ssh.exe is invoked (my trusty firewall tells me that) but then

RE: How do I execute a sudo ssh command?

2004-11-04 Thread Anderson, Rob (Global Trade)
course, both can be exploited if the permissions on the executable are not restricted. -Rob A > -Original Message- > From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 03, 2004 10:03 PM > To: Ant Users List > Subject: Re: How do I execute a s

RE: How do I execute a sudo ssh command?

2004-11-04 Thread Anderson, Rob (Global Trade)
> > Is that really the only way. I find it hard to believe that > there is no > other way to achieve this. > Unfortunetely it is not possible for me to configure sudo to > allow me to run > commands without entering the password. Why not? -

Re: How do I execute a sudo ssh command?

2004-11-03 Thread Alexey N. Solofnenko
There are also other ways: * set setuid bit on executable you want to execute under different credentials; * execute ssh [EMAIL PROTECTED] and copy authorized keys from your account into that user account - in that case ssh will not ask for a password. - Alexey. Colin Harris wrote

Re: How do I execute a sudo ssh command?

2004-11-03 Thread Colin Harris
t; <[EMAIL PROTECTED]> Newsgroups: gmane.comp.jakarta.ant.user Sent: Tuesday, October 26, 2004 3:30 AM Subject: RE: How do I execute a sudo ssh command? You would need to configure sudo to allow you to run the command without a password. -Rob A > -Original Message- > Fro

RE: How do I execute a sudo ssh command?

2004-10-25 Thread Anderson, Rob (Global Trade)
You would need to configure sudo to allow you to run the command without a password. -Rob A > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Colin Harris > Sent: Sunday, October 24, 2004 9:21 PM > To: [EMAIL PROTECTED] > Subject: How do I execute a s

How do I execute a sudo ssh command?

2004-10-24 Thread Colin Harris
I'm having trouble trying to run a command on a remote server via ssh. The problem is that there are a few commands that require me to use 'sudo' but there doesn't seem to be a way of specifying the password when it is requested. I'm sure other people have had to do the

CVS task - cvsRsh set to "ssh" - How to skip "ssh_askpass" call?

2004-10-04 Thread ACario
Ants, I have an ANT CVS task with cvsRsh attribute set to "ssh". When running the task, I get this message: ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory Permission denied, please try again. I have then installed openssh ssh-askpass, and now I get a

RE: SSH

2004-08-05 Thread Inger, Matthew
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

Re: SSH

2004-08-05 Thread Vivek Kumar Gupta
Ext: 1060 - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 05, 2004 3:23 PM Subject: AW: SSH Why not using or of Ant 1.6? Jan > -Ursprüngliche Nachricht- > Von: Vivek Kumar Gupta [mailto:[EMAIL PROTECTED] > Gesen

AW: SSH

2004-08-05 Thread Jan . Materne
Why not using or of Ant 1.6? Jan > -Ursprüngliche Nachricht- > Von: Vivek Kumar Gupta [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 5. August 2004 11:39 > An: Ant Users List > Betreff: SSH > > hi, > > any one knows: > > 1. how to do SSH from

SSH

2004-08-05 Thread Vivek Kumar Gupta
hi, any one knows: 1. how to do SSH from windows to linux/Solaris Systems 2. Generate public license for SSH i am using this is working fine but unable to connect to required m/c due to need of license key. Regards Vivek Kumar Gupta Dept.: Switching Network Programs (I) Ltd. B-1-C, Sector

RE: SSH based tasks?

2004-05-05 Thread Anderson, Rob (Global Trade)
The sshexec task was written to remotely execute commands via ssh, similar to the following... ssh [EMAIL PROTECTED] 'command arg' You can also run multiple commands by separating them with a ";". -Rob Anderson > -Original Message- > From: S. Alan Ezus

Re: SSH based tasks?

2004-05-05 Thread S. Alan Ezust
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

RE: multiple commands with same ssh connection

2004-01-23 Thread Anderson, Rob (Global Trade)
e commands with same ssh connection With sshexec can we run multiple commands wih one target and one connection? for example command="command2"/> Currently I think command2 cannot be executed, in the

Re: multiple commands with same ssh connection

2004-01-23 Thread Clifton C. Craig
If your target system is Linux try: That's how I do it at least. Clifton C. Craig, Software Engineer Intelligent Computer Systems - A Division of GBG 2101 Embassy Drive Lancaster, PA 17603 Phone: 717-295-7977 ext. 621 Fax: 717-295-7683 [EMAIL PROTECTED] [EMAIL PROTECTED]

RE: CVS Over SSH - Setting the Protocol?

2003-08-28 Thread Mattos, John
Stefan The properties I'm using are.. Do you know exactly what the CVSROOT should look like? John -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 10:40 AM To: [EMAIL PROTECTED] Subject: Re: CVS Over SSH - Setting the Pro

CVS checkout using ANT and SSH

2003-08-10 Thread Kguo
Hi, I try to checkout cvs module using ant. At the moment, my cvs is through SSH chanel. I can check out the module without any problem using ANT. However, at the end of checkout process, ANT won't to exit the process and just hang there forever. Is there anyone have that kind of probl

AW: SSH in ANT?!?! (WAS: RE: process on a remote server via an ANT ?????)

2003-03-20 Thread Nick Pellow
Hi Stefan, I just tried both the SSH and SCP tasks with the nightly build from the 19th of March. The jsch.jar I tested it with had version 0.1.2 and was downloaded and built today. During both tasks, I get an ArrayIndexOutOfBoundsException: Apache Ant version 1.6alpha compiled on March 19 2003

Re: SSH in ANT?!?! (WAS: RE: process on a remote server via an ANT ?????)

2003-03-19 Thread Stefan Bodewig
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

SSH for Ant

2003-02-25 Thread David McTavish
First beta release of J2SSH is now available at: http://sourceforge.net/forum/forum.php?forum_id=255546 includes an ant task as well. Thought the posts on here requesting this last week might be interested. d. - To unsubscribe,

  1   2   >