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:[EMAIL PROTECTED] 
> 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: [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