Joao Miguel Ferreira wrote:
Hello all,In our project we have this script to automate the build and send it to our test server (all Linux, test server and dev PCs): --------------------------------------- export JAVA_HOME=/opt/j2sdk1.4.2_13/ /opt/netbeans-5.0/ide6/ant/bin/ant _deploy-dev-to \ -Ddeploy.host=$1 \ -Ddeploy.pass="ourPassword" --------------------------------------- now we want to stop using passwords and start using dsa keys. It is working perfectlly with ssh, for example. How do I tell ant to use my id_dsa key and not use the password ??? is there some kind of -Ddeploy.dsa_key_file=".ssh/id_dsa" option ???
That is up to whoever wrote the build file. The <scp> and <ssh> tasks have key support.
-- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
