diff --git a/docs/manual/OptionalTasks/sshexec.html b/docs/manual/OptionalTasks/sshexec.html index ce214ab84..c8aa6ff42 100644 --- a/docs/manual/OptionalTasks/sshexec.html +++ b/docs/manual/OptionalTasks/sshexec.html @@ -205,13 +205,16 @@ substitution and include the password on the command line. For example:
password="${password}" command="touch somefile"/> -Invoke ant with the following command line: +Invoking ant with the following command line:
     ant -Dusername=me -Dpassword=mypassword target1 target2
 
-which trades hard coded passwords for the possibility that any other -user tracing processes on the machine running Ant (or reading your -command shell's history) may now read the password. + +Is slightly better, but the username/password is exposed to all users +on an Unix system (via the ps command). The best approach is to use +the +<input> task and/or retrieve the password from a (secured) +.properties file.