ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob, Anil - MWT" <Jacob.A...@menlolog.com>
Subject RE: ant scp task...
Date Thu, 01 Apr 2004 21:02:57 GMT
If the ssh version is 3.x, then check your java version if it is 1.3 or
1.2 and maybe you should upgrade your java to 1.4.x.

JCE(Java Cryptography Extension (JCE)) is needed for the DH algorithm,
java1.4 has JCE built in. Java 1.3/1.2 does not and you will have to
install it.

Anil

-----Original Message-----
From: Edward Ciramella [mailto:eciramella@upromise.com] 
Sent: Thursday, April 01, 2004 12:58 PM
To: Ant Users List; Ant Users List
Subject: RE: ant scp task...


OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.6e 30 Jul 2002

	-----Original Message----- 
	From: Jacob, Anil - MWT [mailto:Jacob.Anil@menlolog.com] 
	Sent: Thu 4/1/2004 3:56 PM 
	To: Ant Users List 
	Cc: 
	Subject: RE: ant scp task...
	
	

	If you can log into that machine, at the command prompt enter
	
	>ssh -V
	It should give you something like:
	OpenSSH_3.1p1, SSH protocols 1.5/2.0
	
	Anil
	-----Original Message-----
	From: Edward Ciramella [mailto:eciramella@upromise.com]
	Sent: Thursday, April 01, 2004 12:48 PM
	To: Ant Users List; Ant Users List
	Subject: RE: ant scp task...
	
	
	I dunno, the server is in India - any idea how I can find out
from here?
	
	        -----Original Message-----
	        From: Anderson, Rob (Global Trade)
	[mailto:Rob.Anderson@nike.com]
	        Sent: Thu 4/1/2004 3:44 PM
	        To: Ant Users List
	        Cc:
	        Subject: RE: ant scp task...
	       
	       
	
	        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
	        >
	       
	
	
	
---------------------------------------------------------------------
	To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
	For additional commands, e-mail: user-help@ant.apache.org
	
	


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


Mime
View raw message