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
* [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]