________________________________

From: Luca Gmail [mailto:[EMAIL PROTECTED] 
Sent: lunedì 13 febbraio 2006 10.20
To: 'Maven Users List'
Subject: artifact plugin: invlaid private key

 

Hi all,

I'm using antlib and Maven 2.0.2.

I should like deploy, using wagon-ssh, my artifact to my local repository. So I 
created public/private key for the authentication with the server. I used rsa-2.

 

<target name="test-deploy" depends="initTaskDefs, create-jar" >

................    

    <remoteRepository  id="internal.repository" 
url="scp://192.168.25.217/sw/alive/instance/jetty/docroot/repository">

      <authentication username="user01" 
privateKey="${user.home}/.ssh/id_rsa.ppk" />

    </remoteRepository>

................

</target>

 

When I execute the task this is what happens:

[artifact:deploy] Deploying to 
scp://192.168.25.217/sw/alive/instance/jetty/docroot/repository

[artifact:deploy] Identity: com.jcraft.jsch.JSchException: invaid privatekey: 
C:\Documents and Settings\lucarasconi\.ssh\id_rsa.ppk

[artifact:deploy] An error has occurred while processing the Maven artifact 
tasks.

[artifact:deploy] Error deploying artifact 
'mypackage.cms:GeneratorXML-core:jar': Error deploying artifact: Authentication 
failed: Cannot connect. Reason: invaid privatekey: C:\Documents and 
Settings\lucarasconi\.ssh\id_rsa.ppk

 

Somebody can help me with this error? Is it a bug?

 

Thank you,

Luca

 

Reply via email to