The documented SSHExec attribute inputstring is not implemented in the SSHExec task, but the non- documented attribute inputproperty is implemented. http://ant.apache.org/manual/Tasks/sshexec.html
with svn revision 1063224 inputstring has been implemented, its /since/ tag fixed and inputproperty documented. Thanks.