ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morales, Pedro" <Pedro.Mora...@FMR.COM>
Subject Help to Remove standard sshexec output
Date Thu, 01 Jul 2010 17:19:40 GMT
Hi,

The sshexec task display the result of the command execution on the
screen.  We don't want to display this result on our screen since it's
confident information.   I don't see an option to remove this standard
out from sshexec task. Maybe you know how to do it.


On ant  macro we have the sshexec task:
<!-- Get Credentials and put them on credential.properties -->
<sshexec host="@{host}" 
	knownhosts="@{knownhosts}"
	username="@{userid}" 
	keyfile="@{ssh.keyfile.ss}" 
	outputproperty="@{token}.credentials"
	command="./new_credentials @{token}"/>

On screen output:
  [sshexec] Connecting to server1:22
  [sshexec] Id1/password1


Thanks in advance!!

Pedro Morales 
*817-474-6692 
* pedro.morales@fmr.com 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message