ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marvin Chiang" <>
Subject Using the exec task with SSH
Date Wed, 02 May 2001 04:20:53 GMT
Hi all,

I just started using Ant, and basically I want to run remote scripts through
SSH.  I am currently working on a Win2K workstation, and I'm using the SSH2
command-line executable from  The problem I'm encountering is that
SSH2 does not return control back to the exec task after it's done
executing.  I see the output of the script I'm running (which basically
unzips some files on the remote server)... but at the end it just hangs
forever.  Has anyone encountered this problem?  Or even better, has anyone
successfully gotten SSH to work through the exec task?


View raw message