diff --git a/docs/manual/OptionalTasks/sshexec.html b/docs/manual/OptionalTasks/sshexec.html index 14dfe2281..c4876454c 100644 --- a/docs/manual/OptionalTasks/sshexec.html +++ b/docs/manual/OptionalTasks/sshexec.html @@ -61,7 +61,12 @@ and won't work with versions of jsch earlier than
Run a set of commands from a command resource (file) on a remote machine using key authentication with no passphrase
++ <sshexec host="somehost" + username="dude" + keyfile="${user.home}/.ssh/id_dsa" + commandResource="to_run"/> ++ +
Security Note: Hard coding passwords and/or usernames
in sshexec task can be a serious security hole. Consider using variable
substitution and include the password on the command line. For example:
@@ -173,9 +187,5 @@ Invoke ant with the following command line:
ant -Dusername=me -Dpassword=mypassword target1 target2