ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob H - VSCM" <Anderson....@vectorscm.com>
Subject RE: SCP Ant Syntax (was Contributing to Optional Tasks)
Date Fri, 21 Feb 2003 16:35:17 GMT
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>

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:faceless1976@yahoo.com]
Sent: Friday, February 21, 2003 7:47 AM
To: dev@ant.apache.org
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:somepwd@somehost:/home/dude2/file1.txt"
port="22" />
 
<scp todir="someuser:somepwd@somehost:/home/dude2/>
    <fileset basedir="/home/dude/src">
       <include value="**/*.java"/>
    </fileset>
</scp>

<scp file="someuser:somepwd@somehost:/home/dude2/*"
todir="/home/dude/" port="22"/>

If I understand, file, todir, and tofile could refer
to remote resources with the user:pwd@host syntax.

thanks
charlie


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org

Mime
View raw message