ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vihan Pandey" <vihanpan...@gmail.com>
Subject Re: sshexec
Date Wed, 05 Sep 2007 09:17:33 GMT
> 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

Does the normal shell based sshexec works as in :

# ssh xxx@xxx xx.sh

Is it executing the xx.sh script remotely?

Regards,

- vihan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message