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:[EMAIL PROTECTED]:/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to