title: sshexec ant task: environment variables
body: <p>I'm using SSHExec ant task to connect to a remote host and I depend on the environment variables that are set on the remote host in order to be able to successfully execute some commands.</p>
  
  <pre><code>&lt;sshexec host="somehost"
      username="${username}"
      password="${password}"
      command="set"/&gt;
  </code></pre>
  
  <p>Using the task the env. variables that are outputed are not the same as the ones I get when I log in using an SSH Client.</p>
  
  <p>How can I make the env. variables of the remote host avaiable for the session?</p>