What ssh server software are you using? Check out bug 39373...

http://issues.apache.org/bugzilla/show_bug.cgi?id=39373

I would suggest getting a nightly build and the latest jsch.jar and then
set the new sftp attribute to true in your build.xml.

-Rob A

> -----Original Message-----
> From: Aaron Davies [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 21, 2006 2:57 PM
> To: Ant Users
> Subject: scp Failing--Using scp1?
> 
> The scp task is failing with a "No response from server" 
> exception; the same host responds just fine to an sshexec. 
> I've tried manually scp'ing a file to the server, and it 
> complains that scp1 is missing, but I would think the scp 
> task would be using SSH2 via JSch. Is it not? Is there a way 
> to force it to use SSH2?
> --
> Aaron Davies
> [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to