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

Reply via email to