ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject scp-Task win2k > AIX
Date Wed, 10 Nov 2004 08:50:40 GMT
Hi,

Env = Win2k, j2sdk 1.4.2_05, Ant 1.6.2 and jsch 0.1.16 in Ant/lib


when trying to use the scptask with a litte test

...
<scp file="myfile.txt" todir="user:password@remotemachine:/home/user"/>
...

I get the following error =

main:
      [scp] Connecting to remotemachine:22

BUILD FAILED
Y:\Ant_Test\scptest.xml:7: com.jcraft.jsch.JSchException: Session.connect: java.security.spec.InvalidKeySpecException:
Unknown key spec: Invalid RSA modulus size.

Are there any other requirements on my windowsmachine f.e. do i have to install Putty or similar
tool
first, before i may use the scptask ?!

Thanks for any hint!

Regards, Gilbert


 

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


Mime
View raw message