Christoph

many thanks.  this was the answer --I have googled for an hour or
more, and found others with this issue from as far back as 2008, but
no solutions posted.

Kelvin,

On Sat, May 29, 2010 at 2:21 PM, Christoph Kutzinski <ku...@gmx.de> wrote:
> I guess that Maven uses OpenSSH to open secure connections.
> Putty Keys are not compatible with OpenSSH.
> You have to export your Putty key in OpenSSH format and use that file for
> Maven.
> AFAIR you can do it in pageant or in puttygen.
>
>
> Christoph
>
>
> Am 29.05.2010 14:46, schrieb kelvin goodson:
>>
>> In trying to deploy artifacts I have the following stanzas in my
>> settings.xml plugin
>>
>>                <server>
>>                        <id>me.people</id>
>>                        <username>kelvingoodson</username>
>>                        <privateKey>c:\Dev\sshKeyForPAO.ppk</privateKey>
>>                        <passphrase>thisisnotmypassphrase</passphrase>
>>                        <directoryPermissions>775</directoryPermissions>
>>                        <filePermissions>664</filePermissions>
>>                </server>
>>                <server>
>>                        <id>me.people2</id>
>>                        <username>kelvingoodson</username>
>>                        <password>thisisnotmypassword</password>
>>                        <directoryPermissions>775</directoryPermissions>
>>                        <filePermissions>664</filePermissions>
>>                </server>
>>
>> I have 2 issues ...
>>
>> 1)
>> If I run the command ...
>> mvn
>> -DaltDeploymentRepository=me.people::default::scp://people.apache.org/home/kelvingoodson/public_html/sca-java/2.0-M5/RC1/maven
>> verify gpg:sign install:install deploy:deploy
>>
>> I see the error ...
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error deploying artifact: Authentication failed: Cannot
>> connect. Reason: invalid privatekey: c:\Dev\sshKeyForPAO.ppk
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> but the key referenced in the me.people element is the one I register
>> with pageant to successfully authenticate with people.apache.org
>>
>> 2) If I run the equivalent command, but using me.people2  I am asked
>> for my password for every scp operation (it would take me I would
>> guess 8 or more hours of pasting in my password to get the command to
>> complete in this way)
>>
>> here's the output ...
>>
>> [INFO] Using alternate deployment repository
>>
>> me.people2::default::scp://people.apache.org/home/kelvingoodson/public_html/sca-java/2.0-M5/RC1/maven
>>
>>
>> Note that too many successive login failures will result in further
>> logins from your IP address being blocked. If this happens, contact
>> <infrastruct...@apache.org>, mentioning your IP address so that it can
>> be unblocked.
>>
>>
>> : Keyboard interactive required, supplied password is ignored
>> Password: :
>>
>> Ckues as to how to fix eiter/both of these issues are most welcome, thanks
>>
>> Kelvin.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to