Hi Benson,

I can ssh and scp to people.apache.org by entering my passphrase.
I've even tried using ssh-add to remove the passphrase prompt but it
still resorts to a password.  What takes the -d switch you mention?
My settings.xml looks similar, but uncommenting <password> still
doesn't stop the prompt.

Thanks,

Mark

On 7 November 2012 13:58, Benson Margulies <[email protected]> wrote:
> Can you do a plain ssh to the target, and/or an SCP? If not, use -d and see
> what the fuss is about. If so, then I suspect that you have the wrong
> settings.xml.
>
> Mine looks like:
>
>  <server>
>             <id>apache.website</id>
>             <username>bimargulies</username>
>             <!--
>       <password>uncomment and put in password to give up on ssh.</password>
> -->
>             <privateKey>/users/benson/.ssh/id_rsa</privateKey>
>         </server>
>
>
> On Wed, Nov 7, 2012 at 8:55 AM, Mark Hobson <[email protected]> wrote:
>
>> I'd be happy to temporarily not use keys and put my password in
>> settings.xml, although I still get prompted even then.  What do others
>> do when deploying multi-module sites?
>>
>> Thanks,
>>
>> Mark
>>
>> On 6 November 2012 23:00, Chris Graham <[email protected]> wrote:
>> > Your key is being refused (for a variety of reasons). That's been the
>> case for me when I've been prompted for passwords when using keys. Good
>> luck in finding out why. :-)
>> >
>> > -Chris
>> >
>> > Sent from my iPhone
>> >
>> > On 07/11/2012, at 9:34 AM, Mark Hobson <[email protected]> wrote:
>> >
>> >> Hi,
>> >>
>> >> I'm trying to deploy the maven-scm-1.8.1 site but am getting prompted
>> >> for a password for every module.
>> >>
>> >> As per [1] my settings.xml contains:
>> >>
>> >>    <server>
>> >>       <id>apache.website</id>
>> >>       <username>markh</username>
>> >>       <privateKey>${user.home}/.ssh/id_rsa</privateKey>
>> >>    </server>
>> >>
>> >> I'm running Maven 3.0.4 under Cygwin with the following from [2]:
>> >>
>> >>    mvn site-deploy -Preporting -DstagingRepositoryId=apache.website
>> >>
>> >> Which prompts me for a password as follows:
>> >>
>> >>    [INFO] --- maven-site-plugin:3.1:deploy (default-deploy) @ maven-scm
>> ---
>> >>    [INFO] Parent project loaded from repository:
>> >> org.apache.maven:maven-parent:pom:22
>> >>    [INFO] Parent project loaded from repository:
>> org.apache:apache:pom:11
>> >>    [INFO] Parent project loaded from repository:
>> >> org.apache.maven:maven-parent:pom:22
>> >>    [INFO] Parent project loaded from repository:
>> org.apache:apache:pom:11
>> >>    Using private key: C:\Users\mark\.ssh\id_rsa
>> >>    Password:
>> >>
>> >> Any idea what I'm missing?
>> >>
>> >> Thanks,
>> >>
>> >> Mark
>> >>
>> >> [1] http://www.apache.org/dev/publishing-maven-artifacts.html#dev-env
>> >> [2]
>> http://maven.apache.org/developers/release/maven-shared-release.html
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [email protected]
>> >> For additional commands, e-mail: [email protected]
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [email protected]
>> > For additional commands, e-mail: [email protected]
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to