ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: ant scp task...
Date Thu, 01 Apr 2004 20:44:16 GMT
What brand/version of sshd are you running on the remote host? This error basically says that
the DH key exchange method is not avialable. This key exchange method is not avialable in
older versions of OpenSSH.

-Rob Anderson

> -----Original Message-----
> From: Edward Ciramella [mailto:eciramella@upromise.com]
> Sent: Thursday, April 01, 2004 12:36 PM
> To: user@ant.apache.org
> Subject: ant scp task...
> 
> 
> Can anyone help me?  I'm trying to use a very simple scp 
> command via ant - below is my project file and the results.  
> I have the following jars in my anthome/lib directory:
>  
> jce1_2_2.jar
> jsch-0.1.14.jar
> local_policy.jar
> sunjce_provider.jar
> US_export_policy.jar
>  
> <project name="MyProject" default="dist" basedir=".">
> <target name="dist">
>   <scp todir="${username}:${password}@red-flash:/home/builds/">
>     <fileset dir="/">
>   <include name="*15.0.28.0*"/>
>  </fileset>
>   </scp>
> 
> </target>
> </project>
>  
> C:\ej-testing>call ant -version
> Apache Ant version 1.6.1 compiled on February 12 2004
> Buildfile: scp.xml
> dist:
>       [scp] Connecting to red-flash:22
>       [scp] java.security.NoSuchAlgorithmException: DH 
> KeyPairGenerator not available
> BUILD FAILED
> C:\ej-testing\scp.xml:5: java.lang.NullPointerException
> 
Mime
View raw message