I already have that set up...

MacBookPro:~ pajbam$ cat .ssh/config
Host people.apache.org
User pamarcelot
Port 22

The problem is that maven specifies the user to user based on the current user.

Executing command: /bin/sh -c ssh -i /Users/pajbam/.ssh/id_dsa -o 'BatchMode yes' pajbam@people.apache.org 'mkdir -p /www/directory.apache.org/studio-plugin/gen-docs/1.5.0.v20091102/.'

Regards,
Pierre-Arnaud

On 5 nov. 2009, at 22:09, Felix Knecht wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pierre-Arnaud Marcelot schrieb:
Actually the problem, is that my login on my machine is not the same
than my login on people.apache.org <http://people.apache.org>.

pajbam on my machine and pamarcelot on p.a.o.


You can solve this using the ~/.ssh/config by adding:

Host people.apache.org
HostName people.apache.org
User pamarcelot

It's an ssh problem not a settings.xml problem I think.

HTH
Felix




Executing command: /bin/sh -c ssh -i /Users/pajbam/.ssh/id_dsa -o
'BatchMode yes' pajbam@people.apache.org
<mailto:pajbam@people.apache.org> 'mkdir -p
/www/directory.apache.org/studio-plugin/gen-docs/1.5.0.v20091102/.'

The deploy plugin tried to use pajbam which does not exist on p.a.o.

There's probably something to tweak in the settings.xml file.

I already have that, but it seems it not enough (although it's working
when releasing jars to the maven repo....):

 <servers>
   <!-- Server configuration for 'people.apache.org' -->
   <server>
     <id>apache.release</id>
     <username>pamarcelot</username>
     <!--
       Authentication can be done via private key or password.
       Uncomment the line corresponding to your authentication method.
     -->
     <!--<privateKey>/Users/pajbam/.ssh/id_dsa</privateKey>-->
     <password>[...]</password>
     <filePermissions>664</filePermissions>
     <directoryPermissions>775</directoryPermissions>

     <!--
       My latest permission problems when deploying solved the
following configuration addition,
       see also
http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html
quite
       in the middle of the page "If you are deploying from Unix or
have Cygwin ..." - I needed the configuration
       in contradiction what the doc says ...
     -->
     <configuration>
       <sshExecutable>ssh</sshExecutable>
       <scpExecutable>scp</scpExecutable>
     </configuration>
   </server>
 </servers>

Regards,
Pierre-Arnaud

On 5 nov. 2009, at 20:05, Emmanuel Lecharny wrote:

Pierre-Arnaud Marcelot wrote:
Here's the result...

You may ask on #infra, your login might have been disabled because too
many failing attempt.

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com <http://www.iktek.com>
directory.apache.org




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrzPx0ACgkQ2lZVCB08qHEcewCfaQPkTHgqvmjWZTmLNDiFCyVh
SnMAoMrgd1DwENqApXQn6QZLneZyipKi
=c0tp
-----END PGP SIGNATURE-----