You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Morales, Pedro" <Pe...@FMR.COM> on 2010/07/01 19:19:40 UTC

Help to Remove standard sshexec output

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