ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: SCP Ant Syntax (was Contributing to Optional Tasks)
Date Fri, 21 Feb 2003 16:47:41 GMT
On Fri, 21 Feb 2003, Rob H. Anderson <Anderson.Rob@vectorscm.com>
wrote:

> For ssh keys, when supported, what would the usage be?
> 
> Perhaps:
> 
> <scp todir="someuser:somepwd@somehost:/home/dude2/"
> keyfile="/home/dude/.ssh/id_dsa">
>     <fileset basedir="/home/dude/src">
>        <include value="**/*.java"/>
>     </fileset>
> </scp>

keyfile could be optional and default to ${user.home}/.ssh/id_dsa

I'd probably use separate attributes for password and passphrase.
Only one can be specified - passphrase implies key authentication.

Nothing set into stone here, it's not that hard to convince me
otherwise 8-)

Stefan

Mime
View raw message