Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Re: Ant on AIX using SCP to transfer files with ssh2 keys

MaxSteel

2008-04-30

Replies: Find Java Web Hosting

Author LoginPost Reply

First, does jsch need this "known hosts" file.. is that why it's not working?
if so, what should this file look like for ssh2?

Second, Does my script look correct at least for keys to work?
--------------------------------------------------------------------
"build.xml" 17 lines, 713 characters
<?xml version="1.0"?>
<project name="scp" basedir="." default="go">
  <target name="go">
  <scp file     =
"user@(protected)"
     keyfile = "/home/user/.ssh2/id_dsa_2048_a"
     passphrase = ""
     todir    = "."
     trust    = "true"
     port     = "22"
     verbose   = "true"
     sftp     = "true" />
  </target>
</project>
--------------------------------------------------------------------



--
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.