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 20:56:12 GMT
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


Mime
View raw message