This page can help : http://wiki.apache.org/ant/NewAntFeaturesInDetail/Ssh
-- Manivannan Palanichamy http://mani.gw.googlepages.com/index.html On 9/5/07, Shankar S <[EMAIL PROTECTED]> wrote: > > I have got the sshexec task in this format: > > <sshexec host="xxx" username="xxx" password="xxx" command="./xx.sh" > trust="true" /> > > Ant throws up saying: > > com.jcraft.jsch.JSchException: reject HostKey: xxx > > Any help on this is much appreciated. > > -Shanki >