This is an automated email from the ASF dual-hosted git repository. bodewig pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ant.git
commit 8a6efc192eb1c081d7a1827a7fa73c3eeb284b68 Merge: 3e952c473 e59accad8 Author: Stefan Bodewig <[email protected]> AuthorDate: Tue Mar 3 20:28:45 2026 +0000 Merge pull request #124 from bigstinky86/hide-sensitive-data Hide sensitive data manual/Tasks/sshexec.html | 22 +++++++ .../tools/ant/taskdefs/optional/ssh/SSHExec.java | 69 ++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --cc manual/Tasks/sshexec.html index f0a0e9c40,a6d28067b..b4d37b055 --- a/manual/Tasks/sshexec.html +++ b/manual/Tasks/sshexec.html @@@ -228,35 -228,30 +228,57 @@@ JSCh earlier than 0.1.28.</p not <q>0</q>. <em>since Ant 1.9.7</em></td> <td>No; defaults to <q>3</q></td> </tr> + <tr> + <td>hideSensitive</td> + <td>Allows to hide sensitive data in logs without output supressing. It makes easier debugging + with sensitive data hiding. + </td> + <td>No; defaults to <q>false</q></td> + </tr> + <tr> + <td>bindSensitive</td> + <td>Contains string with key=values pairs are divided by <var>sensitiveDelimiter</var></td> + <td>Yes if <var>hideSensitive</var> set to <q>true</q></td> + </tr> + <tr> + <td>sensitiveDelimiter</td> + <td>Sensitive data delimiter of key=values pairs</td> + <td>No, defaults to <q>;</q></td> + </tr> + <tr> + <td>placeholderBrackets</td> + <td>Contains symbols to destinguish placeholder are needed to replace with sensitive data</td> + <td>No, defaults to <q>:</q></td> + </tr> </table> +<h3>Parameters specified as nested elements</h3> + +<h4 id="additionalConfig">additionalConfig</h4> + +<p><em>since Ant 1.10.10</em></p> + +<p>Adds configuration settings for the JSch Session created that are + not directly supported by specific Ant attributes.</p> + +<table class="attr"> + <tr> + <th scope="col">Attribute</th> + <th scope="col">Description</th> + <th scope="col">Required</th> + </tr> + <tr> + <td>key</td> + <td>The key of the configuration setting.</td> + <td>Yes</td> + </tr> + <tr> + <td>value</td> + <td>The value of the configuration setting.</td> + <td>Yes</td> + </tr> +</table> + <h3>Examples</h3> <p>Run a command on a remote machine using password authentication</p>
