# ant-dev mailing list archives

##### Site index · List index
Message view
Top
From "Anderson, Rob H - VSCM" <Anderson....@vectorscm.com>
Date Tue, 26 Nov 2002 18:37:24 GMT
I have been working on an SSH task (attached) that will allow you to run a
command remotely via ssh2. It will authenticate with an ssh key and
passphrase. It will only work if you have setup the authorized_keys on the
It relies on the mindterm classes

<target name="ssh">
<ssh server="hostname"
keyfile="c:\path\to\key\file"
command="command args"/>
</target>

I would like to eventually make it so that there can be nested <command>s
like so:

<target name="ssh">
<ssh server="hostname"
keyfile="c:\path\to\key\file">
<command>acommand args</command>
<command>anothercommand args</command>
</ssh>

I have a question about the licensing of such a task. Can I release it under
the Apache Software License? I am also planning to write a much needed SCP