title: ANT SSHEXEC task Issues using keyfile
body: <p>I am having issues with an SSHEXEC ant task.</p>
  
  <p>I am trying to connect to a remote host and execute a command.</p>
  
  <p>I am trying to use "keyfile" so I do not need to use user/pass and hitting an issue.</p>
  
  <p>I can get it to connect, but getting prompted for:</p>
  
  <p>[sshexec] Connecting to $HOST:22</p>
  
  <p>[sshexec] Kerberos username [$Local_USER]:</p>
  
  <p>[sshexec] Kerberos password for $Local_USER:</p>
  
  <p>Now if I just hit return at each prompt, it proceeds and executes the command.</p>
  
  <p>I am using this method for automation, so defeats the purpose if you need to interact.</p>
  
  <p>Here is the ANT syntax:</p>
  
  <pre><code>&lt;target name="explode" depends="deploy" description="Creating build on Deployment Server"&gt;
        &lt;sshexec host="${host}"
               username="${user}"
               keyfile="c:\paul\testkey"
               trust="true"
               command="${bin}/createBuild.sh"/&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>Ant version - 1.8.3
  Jsch version - jsch-0.1.42 (also tried with jsch-0.1.29)</p>
  
  <p>Can anyone help or advise if I am doing something wrong?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Paul</p>