ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MaxSteel <maxst...@gmail.com>
Subject Re: Ant on AIX using SCP to transfer files with ssh2 keys
Date Wed, 30 Apr 2008 16:23:17 GMT

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@iedm2a24:/usr/WebSphere/AppServer6/profiles/serverindex.xml"
         keyfile = "/home/user/.ssh2/id_dsa_2048_a"
         passphrase = ""
         todir      = "."
         trust      = "true"
         port       = "22"
         verbose    = "true"
         sftp       = "true" />
    </target>
  </project>
--------------------------------------------------------------------



-- 
View this message in context: http://www.nabble.com/Ant-on-AIX-using-SCP-to-transfer-files-with-ssh2-keys-tp16952909p16986532.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message