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
remote host and can authenticate non-interactively when your key is loaded.
It relies on the mindterm classes
(http://www.appgate.com/mindterm/download.php). Currently The usage is:

 <target name="ssh">
         <ssh server="hostname"
                 user="username"
                 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"
                user="username"
                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
task. Please contact me with any questions and feedback. Thanks.

 <<Ssh.zip>> 
Robert Anderson
Software Configuration Management
Vector SCM
503-450-6514
[EMAIL PROTECTED]

<<attachment: Ssh.zip>>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to