maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MNG-1972) cannot pass a username to the scp command
Date Thu, 19 Jan 2006 17:40:18 GMT
     [ http://jira.codehaus.org/browse/MNG-1972?page=all ]
     
Brett Porter closed MNG-1972:
-----------------------------

     Resolution: Cannot Reproduce
    Fix Version:     (was: 2.0.3)

> cannot pass a username to the scp command
> -----------------------------------------
>
>          Key: MNG-1972
>          URL: http://jira.codehaus.org/browse/MNG-1972
>      Project: Maven 2
>         Type: Bug

>   Components: POM, Command Line
>     Versions: 2.0, 2.0.1, 2.0.2
>  Environment: Linux
>     Reporter: Adrian
>     Priority: Blocker

>
>
> Maven ignores the username set in settings.xml for the server used as the deploy repository.
> We are running continuum as root on startup of our build server, thus maven runs as root.
We want maven to connect to our deploy server as the user named "build". We have created ssh
rsa keys for connecting that work fine and can ssh without a password using these keys. The
issue we are having is that the scp command ignores the settings in settings.xml telling it
to use the build user and instead attempts to login as root.
> The deployment repository is set up as follows:
> ---------------------------------------------------------------------
> <repository>
>       <id>ukdev-repo</id>
>       <name>Central repository on ukdev</name>
>       <url>scp://<servername>/<path></url>
> </repository>
> ---------------------------------------------------------------------
> The settings xml is as follows:
> ---------------------------------------------------------------------
> <settings>
> 	<servers>
> 		<server>
> 			<id>ukdev-repo</id>
> 			<username>build</username>
> 		</server>
> 	</servers>
> </settings>

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message