maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BOUTEMY <herve.bout...@free.fr>
Subject Jsch issue with Java 7 and Kerberos enabled ssh servers (was Re: about the bug)
Date Sun, 03 May 2015 07:50:43 GMT
I had a few private email discussion with Deng: it seems he is facing a known 
issue with Java 7 + Kerberos enabled ssh servers + Jsch that was already faced 
by:
- Ant: https://bz.apache.org/bugzilla/show_bug.cgi?id=53437
- Mule: https://www.mulesoft.org/jira/browse/MULE-6864
and probably others


I think the workaround proposed by Jsch is interesting:
  http://sourceforge.net/p/jsch/mailman/message/29359265/ 
session.setConfig("PreferredAuthentications",
                    "publickey,keyboard-interactive,password");

any objection from people with more knowledge on the topic?


Ideally, I'd like to create a unit-test, because that would really improve 
wagon-ssh maintainability, but I need to discover how to create an embedded 
Kerberos enabled SSH server: help needed on this :)


And finally, I found https://issues.apache.org/jira/browse/WAGON-355 "Expose 
PreferredAuthentications property of jsch in some way", which seems highly 
desirable since it seems this is a really tricky part that would be useful to 
be configurable by end-users to fit their particular needs: any hint on how to 
provide this feature?


Notice: I created WAGON-439 https://issues.apache.org/jira/browse/WAGON-439 to 
track the issue

Regards,

Hervé

Le dimanche 3 mai 2015 07:23:07 Hervé Boutemy a écrit :
> Hi Pengfei,
> 
> This is an INFO message, not a failure: it explains why it is switching to
> SSH key instead of agent.
> 
> Regards,
> 
> Hervé
> 
> Le jeudi 30 avril 2015 12:01:49 Barrie Treloar a écrit :
> > Please use the Maven users list for these questions.
> > 
> > On 30 April 2015 at 11:47, Pengfei Deng <Pengfei.Deng@ericsson.com> wrote:
> > >  Hi all ,
> > > 
> > > When I try to use maven-release-plugin and use
> > > 
> > > release:clean release:prepare release:perform I got error below:
> > > 
> > > 
> > > 
> > > [INFO] [INFO] --- maven-site-plugin:3.4:deploy (default-deploy) @
> > > site-deploy-test ---
> > > 
> > > [INFO] Unable to connect to agent:
> > > com.jcraft.jsch.agentproxy.AgentProxyException: connector is not
> > > available:
> > > 
> > > [image:
> > > https://eis-jenkins-jcat.rnd.ki.sw.ericsson.se/static/09e72bc8/images/sp
> > > in
> > > ner.gif]>
> > > 
> > > And the source code is like this:
> > >    try
> > >    
> > >         {
> > >         
> > >             Connector connector = ConnectorFactory.getDefault().
> > > 
> > > createConnector();
> > > 
> > >             if ( connector != null )
> > >             
> > >             {
> > >             
> > >                 IdentityRepository repo = new RemoteIdentityRepository(
> > > 
> > > connector );
> > > 
> > >                 sch.setIdentityRepository( repo );
> > >             
> > >             }
> > >         
> > >         }
> > >         
> > >         catch ( AgentProxyException e )
> > >         
> > >         {
> > >         
> > >             fireSessionDebug( "Unable to connect to agent: " +
> > >             e.toString()
> > > 
> > > );
> > > 
> > >         }
> > > 
> > > Could you please help?
> > > 
> > > 
> > > 
> > > Best Regards,
> > > 
> > > [image: Ericsson] <http://www.ericsson.com/>
> > > 
> > > *PENGFEI DENG *
> > > Software Design Engineer
> > > 
> > > BURA DURA RCI CBC Tools JCAT and Config
> > > 
> > > 
> > > *Ericsson*
> > > No.5 WangJing East Road Chaoyang District Beijing
> > > 100102, China
> > > Phone +86 15652957083
> > > 
> > > Office +86 10 84767195
> > > Pengfei.Deng@ericsson.com
> > > www.ericsson.com
> > > 
> > > 
> > > 
> > > [image: http://www.ericsson.com/current_campaign]
> > > <http://www.ericsson.com/current_campaign>
> > > 
> > > 
> > > 
> > > Legal entity: CBC/XIT, registered office in RndP. This Communication is
> > > Confidential. We only send and receive email on the basis of the terms
> > > set
> > > out at www.ericsson.com/email_disclaimer
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message