maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <>
Subject [jira] Moved: (WAGON-177) Allow use of both password and private key
Date Wed, 14 May 2008 07:30:30 GMT


Brett Porter moved WAGONSSH-46 to WAGON-177:

    Component/s:     (was: wagon-ssh)
            Key: WAGON-177  (was: WAGONSSH-46)
        Project: Maven Wagon  (was: wagon-ssh)

> Allow use of both password and private key
> ------------------------------------------
>                 Key: WAGON-177
>                 URL:
>             Project: Maven Wagon
>          Issue Type: Improvement
>          Components: wagon-ssh
>            Reporter: Kenney Westerhof
> We have corporate m2 repository over http with Digest authentication.
> We specify the <username> and <password> for that repository so the ArtifactManager
can download
> artifacts.
> We also use scp to deploy artifacts to that same repository. We use the same username,
> a different password and/or a private key file.
> AbstractSshWagon's logic is that it only uses the private key file if there's no password
> It should first try the private key file, and optionally use the password to decode it
if it's password-protected,
> then try that private key authentication, and if that fails, try the password/passphrase
> Ssh allows for multiple authentication methods to be tried before failure.
> Even better would be to allow different usernames for the same repository, depending
on if it's
> used for deployment or artifact resolution (but that's a maven-core issue).
> Right now we have to use two different repository id's and double configuration for both
normal and snapshot repositories, when in fact it's the same repository with 2 different access
> (most of this issue is more appropriately placed in maven-core somewhere, but the password/privatekey
> issue solves part of the problem).

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message