ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56732] New: Need way to omit command echoing by sshexec
Date Wed, 16 Jul 2014 21:20:09 GMT
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.

Mime
View raw message