You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Oscar Picasso <os...@yahoo.com> on 2005/11/11 16:08:38 UTC

[m2] deploy and ssh_agent

Hi,

If my settings.xml contains the username, and passphrase I can deploy to the
distribution repository.

If I remove the username and passphrase from the settings.xml, maven prompts me
several times for a password on deployement.

I can use ssh_agent directly from the shell, but how to 'tell' maven to use
ssh_agent too ?

In the mailing list I have read somewhere that we need to use the scpexe
protocol. However if I do that, I get the following:

[INFO] Error deploying artifact: Unsupported Protocol: 'scpexe': Cannot find
wagon which supports the requested protocol: scpexe

It is not clear for me if scpexe is a Windows specific protocol.

I use Linux.

1- Is there a protocol that I can use in Linux so that maven uses ssh_agent on
deployement.
2- If so, how to enable it?

Thanks.

Oscar


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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


Re: [m2] deploy and ssh_agent

Posted by Emmanuel Venisse <em...@venisse.net>.
By defaut, we use a pure java ssh client, so it will don't use ssh_agent.

1- scpexe is only a marker for maven that identify you want to use the scp command line 
(scp under linux). With it, you'll can use ssh agent.

2- http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html

Emmanuel

Oscar Picasso a écrit :
> Hi,
> 
> If my settings.xml contains the username, and passphrase I can deploy to the
> distribution repository.
> 
> If I remove the username and passphrase from the settings.xml, maven prompts me
> several times for a password on deployement.
> 
> I can use ssh_agent directly from the shell, but how to 'tell' maven to use
> ssh_agent too ?
> 
> In the mailing list I have read somewhere that we need to use the scpexe
> protocol. However if I do that, I get the following:
> 
> [INFO] Error deploying artifact: Unsupported Protocol: 'scpexe': Cannot find
> wagon which supports the requested protocol: scpexe
> 
> It is not clear for me if scpexe is a Windows specific protocol.
> 
> I use Linux.
> 
> 1- Is there a protocol that I can use in Linux so that maven uses ssh_agent on
> deployement.
> 2- If so, how to enable it?
> 
> Thanks.
> 
> Oscar
> 
> 
> 	
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.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