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