You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2014/07/16 23:20:09 UTC

[Bug 56732] New: Need way to omit command echoing by sshexec

https://issues.apache.org/bugzilla/show_bug.cgi?id=56732

            Bug ID: 56732
           Summary: Need way to omit command echoing by sshexec
           Product: Ant
           Version: 1.9.4
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
          Assignee: notifications@ant.apache.org
          Reporter: isaac@shabtay.com

Currently, sshexec prints the executed SSH command using the "INFO" level.

However, at certain times, it is desirable to have sshexec *not* echo the
command that it is executing. A good example would be a command that contains a
password.

I realize that this is possible to achieve by setting the logging level of
sshexec to "warn". However, this solution is not flexible enough as it would be
in effect for *all* sshexec invocations within the project.

Need to add an attribute to sshexec, something like "echo-command" and default
it to "true" (to preserve existing functionality).

For some reason I'm getting errors importing Ant's source code at the moment,
so can't generate a patch...

-- 
You are receiving this mail because:
You are the assignee for the bug.