David Crossley wrote:
Clay Leeds wrote:
David Crossley wrote:
I solved it. The "password" that you are prompted for
is not the "passphrase" for your ssh key, but it is
the user login password at the *remote* machine.
As I mentioned before, it still doesn't work.
The Forrestbot deploy.scp workstage only uses the
"password" method. The allowed parameters are defined
http://forrest.apache.org/tools/forrestbot.html#deploy.scp
The forrestbot should be enhanced at
tools/forrestbot/core/deploy.xml line 66
to take advantage of the "keyfile" parameter
of the "scp" Ant task.
http://ant.apache.org/manual/OptionalTasks/scp.html
Is this something I can change myself? Or are you 'talking' to the
Forrest-dev folks?
Both. Actually always trying to turn users
into developers.
You can change it yourself, you have the code.
If it was me, i would get it to use the keyfile
in preference, then fall back to remote password.
Please provide the patch. Then you become a forrest
developer :-)
It's worth pointing out that this is an ANT script so if you know ANT,
you can do this easily, otherwise you may be waiting a while for another
dev who needs this functionality ;-)
Ross