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 / jsch-0.1.16
Date Mon, 23 Aug 2004 14:14:35 GMT

Hi,

Using jrsdk 1.4.2, Ant 1.6.2 and jsch.jar 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.


Any hints, maybe the configuration of the remoteserver (running with AIX) ?


Regards, Gilbert
 


Mime
View raw message