The following comment has been added to this issue:
Author: Emmanuel Venisse
Created: Mon, 8 Mar 2004 6:33 AM
Body:
Putty doesn't have the same format of other ssh tools for public/private keys.
Artifact plugin doesn't use maven.ssh.executable property for launch ssh connection
but jcraft api.
So we must unified all deployment procedure with artifact plugin and not deploy
plugin. With this modification, we'll can deploy with ssh, sftp, ftp and file
protocols.
Actually, only ear, ejb and war plugins use it.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPARTIFACT-5&page=comments#action_17376
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPARTIFACT-5
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPARTIFACT-5
Summary: Problem with SCP deployement
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-artifact-plugin
Versions:
1.0
Assignee:
Reporter: Emmanuel Boudrant
Created: Thu, 11 Dec 2003 4:02 AM
Updated: Mon, 8 Mar 2004 6:33 AM
Environment: Win2000 + Putty
Description:
I have a private key which working fine with jar:deploy (key generated by putty) but
the artifact plugin send me the exception invalid private key :
Failed to deploy to: gieoracle1 Reason: Cannot connect. Reason: invaid privatekey:
C:\win32app\ssh\eboudrant_private.PPKWill deploy to 1 repository(ies): remote-maven-01
Deploying to repository: remote-maven-01
host: 'remote-maven-01'
Using private key: C:\win32app\ssh\eboudrant_private.PPK
com.jcraft.jsch.JSchException: invaid privatekey: C:\win32app\ssh\eboudrant_private.PPK
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]