You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by eckobar <ec...@gmail.com> on 2007/02/19 15:00:09 UTC

must enter 20 times same password during deploy

hi everybody!

i am new to maven and have a little problem....

 i have a distribution repository which uses scp, server infos username +
password is set in settings.xml, but when i make "mvn deploy" i must enter
password for each aktion, but at the end everything is OK. problem is that
for a simple deploy i must enter 20 times the same password ... whats wrong?
-- 
View this message in context: http://www.nabble.com/must-enter-20-times-same-password-during-deploy-tf3252968s177.html#a9042647
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: must enter 20 times same password during deploy

Posted by Kalle Korhonen <ka...@gmail.com>.
And better yet, use SSH public key authentication instead of password.

Kalle


On 2/19/07, Scott Ryan <sr...@gmail.com> wrote:
>
> If you add a servers section with userid and password to your
> settings.xml it will not prompt any longer.
> On Feb 19, 2007, at 7:00 AM, eckobar wrote:
>
> >
> > hi everybody!
> >
> > i am new to maven and have a little problem....
> >
> >  i have a distribution repository which uses scp, server infos
> > username +
> > password is set in settings.xml, but when i make "mvn deploy" i
> > must enter
> > password for each aktion, but at the end everything is OK. problem
> > is that
> > for a simple deploy i must enter 20 times the same password ...
> > whats wrong?
> > --
> > View this message in context: http://www.nabble.com/must-enter-20-
> > times-same-password-during-deploy-tf3252968s177.html#a9042647
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > 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: must enter 20 times same password during deploy

Posted by Scott Ryan <sr...@gmail.com>.
If you add a servers section with userid and password to your  
settings.xml it will not prompt any longer.
On Feb 19, 2007, at 7:00 AM, eckobar wrote:

>
> hi everybody!
>
> i am new to maven and have a little problem....
>
>  i have a distribution repository which uses scp, server infos  
> username +
> password is set in settings.xml, but when i make "mvn deploy" i  
> must enter
> password for each aktion, but at the end everything is OK. problem  
> is that
> for a simple deploy i must enter 20 times the same password ...  
> whats wrong?
> -- 
> View this message in context: http://www.nabble.com/must-enter-20- 
> times-same-password-during-deploy-tf3252968s177.html#a9042647
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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: must enter 20 times same password during deploy

Posted by Andrius Šabanas <an...@pivotcapital.com>.
eckobar wrote:
> hi everybody!
> 
> i am new to maven and have a little problem....
> 
>  i have a distribution repository which uses scp, server infos username +
> password is set in settings.xml, but when i make "mvn deploy" i must enter
> password for each aktion, but at the end everything is OK. problem is that
> for a simple deploy i must enter 20 times the same password ... whats wrong?

I guess this issue is related:
http://www.nabble.com/How-to-prevent-Maven%27s-questions--tf2465228s177.html#a6872463

Just creating the .ssh directory under your homedir should help.

cheers,

Andrius Šabanas


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


Re: [m2] must enter 20 times same password during deploy

Posted by eckobar <ec...@gmail.com>.
the only way to prevent maven from asking thousand times for a password is to
use publik key auth for ssh. neither creating .ssh in homedirectory nor set
server informations in ~/.m2/settings.xml helped.

during testing i encountered another problem ... the filepermissions which
are set in settings.xml are not send correct to ssh server. i read anywhere
that this is a reported bug in wagon-ssh-external ... is there clear with
which release this bug would be fixed? my only workaround was that all devs
must deploy with the same user, so the default ssh file creation mask is
working.

thx for replies 


eckobar wrote:
> 
> hi everybody!
> 
> i am new to maven and have a little problem....
> 
>  i have a distribution repository which uses scp, server infos username +
> password is set in settings.xml, but when i make "mvn deploy" i must enter
> password for each aktion, but at the end everything is OK. problem is that
> for a simple deploy i must enter 20 times the same password ... whats
> wrong?
> 

-- 
View this message in context: http://www.nabble.com/must-enter-20-times-same-password-during-deploy-tf3252968s177.html#a9069811
Sent from the Maven - Users mailing list archive at Nabble.com.


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