When running an ant target that includes an sshexec command the Messages window disappears or crashes.
Example:
<sshexec host="${host}" username="${user}" password="${password}" command="ls" outputproperty="the.property"
trust="true" failonerror="false"/>
I see a login message written to the console and then the window disappears.