For ssh keys, when supported, what would the usage be?

Perhaps:

<scp todir="someuser:[EMAIL PROTECTED]:/home/dude2/"
keyfile="/home/dude/.ssh/id_dsa">
    <fileset basedir="/home/dude/src">
       <include value="**/*.java"/>
    </fileset>
</scp>

Joe, If you send me the source for your version of this task I will begin to
implement the support for ssh keys. 

-Rob Anderson


-----Original Message-----
From: Joe Consumer [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 7:47 AM
To: [EMAIL PROTECTED]
Subject: SCP Ant Syntax (was Contributing to Optional Tasks)


Here would be the resulting syntax changes for scp:

<scp file="/home/dude/file1.txt"
tofile="someuser:[EMAIL PROTECTED]:/home/dude2/file1.txt"
port="22" />
 
<scp todir="someuser:[EMAIL PROTECTED]:/home/dude2/>
    <fileset basedir="/home/dude/src">
       <include value="**/*.java"/>
    </fileset>
</scp>

<scp file="someuser:[EMAIL PROTECTED]:/home/dude2/*"
todir="/home/dude/" port="22"/>

If I understand, file, todir, and tofile could refer
to remote resources with the user:[EMAIL PROTECTED] syntax.

thanks
charlie


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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

Reply via email to