title: ant scp hangs after authentication
body: <p>I want to use scp to copy a file to a remote server.
  I'm using Ant 1.8.2 bundled with Eclipse Indigo.
  Additionally I tried a wide variety of jsch-*.jar files (from 0.1.29 to 0.1.46). Before 0.1.30 I get an error complaining about a missing Logger. From 0.1.30 and above it shows no errors but hangs after the message 'Authentication succeeded (password).'.</p>
  
  <p>That's the definition:</p>
  
  <pre><code>&lt;scp verbose="true"  
      remoteTodir="user@myserver.local:/mydir/"
      trust="true"
      password="mypwd"            
  &gt;       
      &lt;fileset dir="${dist}"&gt;
      &lt;include name="myfile/&gt;
      &lt;/fileset&gt; 
  &lt;/scp&gt;
  </code></pre>
  
  <p>That's the output of the task:</p>
  
  <pre><code>      Buildfile: C:\workspace\build.xml uploadtostaging:
        [echo] Uploading to staging server via FTP ...
        [scp] Connecting to com.myserver.local:22
        [scp] Connecting to com.myserver.local port 22
        [scp] Connection established
        [scp] Remote version string: SSH-2.0-xlightftpd_release_3.7.1
        [scp] Local version string: SSH-2.0-JSCH-0.1.30
        [scp] SSH_MSG_KEXINIT received
        [scp] SSH_MSG_KEXINIT sent
        [scp] kex: server-&gt;client 3des-cbc hmac-sha1 none
        [scp] kex: client-&gt;server 3des-cbc hmac-sha1 none
        [scp] SSH_MSG_KEXDH_INIT sent
        [scp] expecting SSH_MSG_KEXDH_REPLY
        [scp] ssh_rsa_verify: signature true
        [scp] Permanently added 'com.myserver.local' (RSA) to the list of known hosts.
        [scp] SSH_MSG_NEWKEYS sent
        [scp] SSH_MSG_NEWKEYS received
        [scp] SSH_MSG_SERVICE_REQUEST sent
        [scp] SSH_MSG_SERVICE_ACCEPT received
        [scp] Authentications that can continue: password
        [scp] Next authentication method: password
        [scp] Authentication succeeded (password).
  
        (...) hangs virtually forever (&gt; 10mins)
  </code></pre>