Java Mailing List Archive

http://www.junlu.com/

Subjects
Home
mod jk2 https
Donation of JAXP 1 3 Sources to Apache
R annoyances
RE: Finding out when the aspnet admin worker process has recycled
Favorite Linux Distribution
eigenvalues of a circulant matrix
Apache Install
Reachin apache from outside
Ant should have an ext directory
Warning: Documentroot doesn 't exist
Can this be Done?
RE: Multilanguage Application
RE: Simple Question On setting up Sub Domain site
Lack of independence in anova()
How to close connection instead of sending 403?
winning the case for ANT
Re: adding php
New Ant GUI 'Ant 's Nest '
Narrowing Down A Strange Problem
Ant Task: sshexec
R Graph Gallery : categorization of the graphs
I 've been hacked, I need some help please
RE: Anyone working with DotNetNuke?
RE: Exception Handling Opinion
hex format
RE: IIS stopped working :(
<for > Build Failed:problem
RE: Separation of Objects from Logic
RE: Tracking pages with long request execution time
sending email to multiple destination
Web Site
ant UI
Easy cut & paste from Excel to R?
Win32 Apache Restart
Improving Tasks
HELP! PLEASE!
RE: Adding Controls to a Page
read table
RE: ASPNET account doesn 't exist!
Best way to uninstall Apache2 on red hat
from win to linux how to web page
XMLParseException changes and creation of XMLLocator2
Re Post: rewrite backslash to forward slash
Target or macrodef?
Page display problem XPSP2
Authentication problems
Dynamic Dictionary Data Type?
Newbie unable access my www from outside
off topic question: Latex and R in industries
Conflict between xtable and Hmisc when using Sweave?
Very old problem without any new solution
mod rewrite help
Basic Authentication question
RE: Code Security
calling ant from java program
prevent double signing
Re: Controlling Copy/Paste/Print
Using R to illustrate the Central Limit Theorem
web server slow too much slow
access to user directories
Links
Home
Official R Project Site
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Ant Task: sshexec

Ant Task: sshexec

2005-05-19       - By S I
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

I've run into a new problem with sshexec: How can I pass 'sudo' and its
password to it?  I've tested it in couple of different ways today to no
avail.  Help please!  Thank you.

Steven

----Original Message Follows----
From: "S I" <xiamak@(protected)>
Reply-To: "Ant Users List" <user@(protected)>
To: user@(protected)
Subject: RE: Ant Task: sshexec
Date: Thu, 19 May 2005 15:34:37 -0700
MIME-Version: 1.0
X-Originating-IP: [206.173.244.27]
X-Originating-Email: [xiamak@(protected)]
X-Sender: xiamak@(protected)
Received: from mail.apache.org ([209.237.227.199]) by mc10-f15.hotmail.com
with Microsoft SMTPSVC(6.0.3790.211); Thu, 19 May 2005 15:35:27 -0700
Received: (qmail 62349 invoked by uid 500); 19 May 2005 22:35:07 -0000
Received: (qmail 62239 invoked by uid 99); 19 May 2005 22:35:06 -0000
Received: pass (hermes.apache.org: domain of xiamak@(protected) designates
65.54.245.18 as permitted sender)
Received: from bay1-f18.bay1.hotmail.com (HELO hotmail.com) (65.54.245.18)  
by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 19 May 2005 15:35:00 -0700
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
Thu, 19 May 2005 15:34:37 -0700
Received: from 206.173.244.27 by by1fd.bay1.hotmail.msn.com with HTTP;Thu,
19 May 2005 22:34:37 GMT
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPt4iogl2abg+M=
Mailing-List: contact user-help@(protected); run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:user-unsubscribe@(protected)>
List-Help: <mailto:user-help@(protected)>
List-Post: <mailto:user@(protected)>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list user@(protected)
X-ASF-Spam-Status: No, hits=1.7
required=10.0tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER
,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: apache.org
X-OriginalArrivalTime: 19 May 2005 22:34:37.0421 (UTC)
FILETIME=[F04239D0:01C55CC2]
X-Virus-Checked: Checked
Return-Path: user-return-50225-xiamak=hotmail.com@(protected)

Ah great thanks. Why didn't I think of that? :)

----Original Message Follows----
From: "Anderson, Rob (Global Trade)" <Rob.Anderson@(protected)>
Reply-To: "Ant Users List" <user@(protected)>
To: "Ant Users List" <user@(protected)>
Subject: RE: Ant Task: sshexec
Date: Thu, 19 May 2005 15:30:25 -0700
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by MC8-F33.hotmail.com
with Microsoft SMTPSVC(6.0.3790.211); Thu, 19 May 2005 15:30:53 -0700
Received: (qmail 43676 invoked by uid 500); 19 May 2005 22:30:42 -0000
Received: (qmail 43649 invoked by uid 99); 19 May 2005 22:30:42 -0000
Received: pass (hermes.apache.org: local policy)
Received: from nbarrierb241.nike.com (HELO barrierb241.nike.com)
(146.197.27.40)  by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 19 May 2005
15:30:41 -0700
X-Message-Info: JGTYoYF78jEehhnlXDVH4HDrHvm5tdh7pTx6mUPXN6c=
Mailing-List: contact user-help@(protected); run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:user-unsubscribe@(protected)>
List-Help: <mailto:user-help@(protected)>
List-Post: <mailto:user@(protected)>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list user@(protected)
X-ASF-Spam-Status: No, hits=0.0 required=10.0tests=
X-Spam-Check-By: apache.org
X-Server-Uuid: BDE2CC8B-9671-48D4-9A25-CA756DA0A621
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Ant Task: sshexec
Thread-Index: AcVcvlXvjShwcP98Rk+on/fJJyTPmgAA+Oxg
X-OriginalArrivalTime: 19 May 2005 22:30:25.0284 (UTC)
FILETIME=[59F92C40:01C55CC2]
X-WSS-ID: 6E93CC0B2H0232912-01-01
X-Virus-Checked: Checked
Return-Path: user-return-50224-xiamak=hotmail.com@(protected)

Separate the commands with a ;

   <sshexec host="somehost"
    username="${username}"
    password="${password}"
    command="touch somefile;touch anotherfile;touch yetanotherfile"/>

-Rob A

> -----Original Message-----
> From: S I [mailto:xiamak@(protected)]
> Sent: Thursday, May 19, 2005 3:01 PM
> To: user@(protected)
> Subject: Ant Task: sshexec
>
>
> How can I get sshexec to pass it more than one command at a time?
>
>   <sshexec host="somehost"
>   username="${username}"
>   password="${password}"
>   command="touch somefile"/>
>
> I used it to run command on our unix server from my winxp
> desktop.  However,
> it seems I have to instantiate many of these ...
>
> <sshexec host="somehost"
>   username="${username}"
>   password="${password}"
>   command="touch somefile"/>
>
> .. just to run 1 cmd @ a time.  I tried <commnadline> + it <argument>
> attribs to no avail as you guessed it.  Help!
>
> Thanks
> Steven
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.