I know its bad form replying to yourself, but to save an iteration I
have also tried removing the privateKey / passphrase elements from the
settings stanza, and adding a password value.  This fails because it
continues to prompt me for the password

......


[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
<[email protected]>, mentioning your IP address so that it can
be unblocked.


: Keyboard interactive required, supplied password is ignored
Password: :


On Sat, May 29, 2010 at 11:53 AM, kelvin goodson <[email protected]> 
wrote:
> oops -- paste error in pasting the command -- I'm actually running
>
> C:\Releasing\2.xm5\tags\sca-java-2.0-M5\modules>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
> -Dgpg.passphrase=***deleted***
>
> On Sat, May 29, 2010 at 11:48 AM, kelvin goodson <[email protected]> 
> wrote:
>> I've never been able to get the combination of ssh authentication key,
>> with the corresponding pasphrase in the maven settings.xml file and
>> the default code signing key and its passphrase to the point where I
>> can set off a deploy and walk away from it.  When I was doing sdo
>> releases I sat there with my p.a.o login password in my paste buffer
>> and pasted the password for every login request caused by ab artifact
>> being scp-ed up.
>>
>> Now that I'm trying to deploy the sca modules that isnt practical so I
>> need to get it right.  Can anyone help me please.
>>
>> Here's the relevant stanza in my settings.xml
>>
>>                <server>
>>                        <id>me.people</id>
>>                        <username>kelvingoodson</username>
>>                        <privateKey>c:\Dev\sshKeyForPAO.ppk</privateKey>
>>                        <passphrase>***deleted***</passphrase>
>>                        <directoryPermissions>775</directoryPermissions>
>>                        <filePermissions>664</filePermissions>
>>                </server>
>>
>> and heres the command I'm running
>>
>> mvn 
>> -DaltDeploymentRepository=me.people::default::scp://people.apache.org/hom/public_html/sca-java/2.0-M5/RC1/maven
>> verify gpg:sign install:install deploy:deploy
>> -Dgpg.passphrase=***deleted***
>>
>>
>> I have in my env ...
>> GNUPGHOME=c:\Dev\gpg\conf
>>
>> and the result of gpg  --list-keys is
>>
>> C:\Releasing\2.xm5\tags\sca-java-2.0-M5\modules>gpg --list-keys
>> c:/Dev/gpg/conf\pubring.gpg
>> ---------------------------
>> pub   2048R/71A5225A 2010-05-27
>> uid                  Kelvin Goodson (Code Signing Key 2)
>> <[email protected]>
>> sub   2048R/3F48BF74 2010-05-27
>>
>>
>> when executing the command I see
>>
>> [ERROR] BUILD ERROR
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Error deploying artifact: Authentication failed: Cannot
>> connect. Reason: invalid privatekey: c:\Dev\sshKeyForPAO.ppk
>>
>> [INFO] 
>> ------------------------------------------------------------------------
>>
>>
>> but this is the key I register with pageant when using putty to ssh to p.a.o
>>
>> Any clues?
>>
>> Kelvin
>>
>

Reply via email to