[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn+ssh auth problem in a custom svn_client-based app

From: Laurent Sansonetti <laurent.sansonetti_at_gmail.com>
Date: 2006-03-09 14:47:19 CET

On 3/9/06, Laurent Sansonetti <laurent.sansonetti@gmail.com> wrote:
> On 3/9/06, Max Bowsher <maxb1@ukf.net> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Laurent Sansonetti wrote:
> > > I am writing a C-based application that should access a subversion
> > > repository through svn+ssh, and I am facing authentication issues.
> > ...
> > > Received disconnect from xxx: 2: Too many authentication failures for sansonet
> >
> > The very first thing you need to work out is whether the problem is
> > Subversion-related at all.
> >
> > Try 'ssh hostname svnserve -t' - if you get errors then too, then the
> > problem is nothing to do with your app - rather, it is with your ssh setup.
>
> I am getting the following output:
>
> $ ssh -l username hostname svnserve -t
> Password:
> ( success ( 1 2 ( ANONYMOUS EXTERNAL ) ( edit-pipeline ) ) )
>
> I can also reach the repository via the svn command line:
>
> svn list svn+ssh://username@hostname/svn/the_project
>
> So I am not sure this is a ssh setup issue, I believe it's rather a
> problem with the code. I will resume the code to a small sample and
> paste it there later today.
>
> Any more idea in the meantime?

Just figured out that when running my app out of the IDE (XCode) there
is now an SSH password prompt in the terminal, and that prompt is
definitely not linked to the libclient auth stuff. Sounds like I
will need to work with ssh-agent to bypass this.

Sorry for the spam,

Laurent

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 9 14:49:05 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.