You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Goldhahn <MG...@visma.no> on 2006/12/08 16:40:44 UTC

configuration of wagon-ssh

Hi! 
I am trying to make password authentication work with the wagon-ssh.
Juan F. Codagnone proposed a fix a year ago (WAGONSSH-21 on
http://jira.codehaus.org/browse/WAGONSSH-21). 

Where do I put this configuration section? Putting it in the
settings.xml in <servers> <server> <configuration> doesn't seem to work.

Is there anyone having another suggestion on how to make password
authentication work?

Cheers
Martin

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


RE: configuration of wagon-ssh

Posted by Martin Goldhahn <MG...@visma.no>.
This works for ftp servers and the like. I have an ssh daemon that uses
keyboard interactive password authentication (as opposed to public key
authentication). In this case, the ssh plugin won't pick up the password
from the setting in the server.xml. When I run the test cases of the
ssh-plugin (I grabbed the source from SVN) I can modify the source and
put it in my local repository. But I suppose a better solution would be
to modify the configuration, similar to what Juan Codagnone suggested.
He shows a snippet where he configures the ssh wagon. I tried it but it
doesn't seem to work. Probably because I put it in the wrong context.
Obviously I don't know anything about plexus.

Hence my question. Is there any way to tell the ssh wagon that it should
use another KeuboardInteractive class?

Martin

> -----Original Message-----
> From: Martin van den Bemt [mailto:mllist@mvdb.net] 
> Sent: Friday, December 08, 2006 5:26 PM
> To: Maven Users List
> Subject: Re: configuration of wagon-ssh
> 
> Something like this should work (in your settings.xml) : 
> 
> <servers> 
>   <server> 
>      <id>id of server that is used in pom</id> 
>      <username>your username</username> 
>      <password>password</password> 
>   </server> 
> </servers> 
> 
> Mvgr, 
> Martin 
> 
> Martin Goldhahn wrote: 
> > Hi! 
> > I am trying to make password authentication work with the 
> wagon-ssh. 
> > Juan F. Codagnone proposed a fix a year ago (WAGONSSH-21 on 
> > http://jira.codehaus.org/browse/WAGONSSH-21). 
> > 
> > Where do I put this configuration section? Putting it in the 
> > settings.xml in <servers> <server> <configuration> doesn't 
> seem to work. 
> > 
> > Is there anyone having another suggestion on how to make password 
> > authentication work? 
> > 
> > Cheers 
> > Martin 
> > 
> > 
> --------------------------------------------------------------------- 
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org 
> > For additional commands, e-mail: users-help@maven.apache.org 
> > 
> > 
> > 
> 
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org 
> For additional commands, e-mail: users-help@maven.apache.org 
> 
> 
> 
> 

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


Re: configuration of wagon-ssh

Posted by Martin van den Bemt <ml...@mvdb.net>.
Something like this should work (in your settings.xml) :

<servers>
  <server>
     <id>id of server that is used in pom</id>
     <username>your username</username>
     <password>password</password>
  </server>
</servers>

Mvgr,
Martin

Martin Goldhahn wrote:
> Hi! 
> I am trying to make password authentication work with the wagon-ssh.
> Juan F. Codagnone proposed a fix a year ago (WAGONSSH-21 on
> http://jira.codehaus.org/browse/WAGONSSH-21). 
> 
> Where do I put this configuration section? Putting it in the
> settings.xml in <servers> <server> <configuration> doesn't seem to work.
> 
> Is there anyone having another suggestion on how to make password
> authentication work?
> 
> Cheers
> Martin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

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