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

Re: [newbie] ssh key setup problems

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-08-07 04:05:05 CEST

On Fri, 2004-08-06 at 16:53, Alan wrote:

> What I'd like to do is be able to run the system like I did with CVS,
> simply doing 'svn ci foo.c', etc. I set $CVSROOT to
> 'svn+ssh://dev@devserver/' and the plain svn:// equivilant, but when I
> try to login I'm still prompted for a password for username 'alan'
> (my local os/x user). If I don't hit anything I'm prompted for
> username and password and if I fill this in with 'dev' and that user's
> password it all works fine. However, based on what I've read and seen
> this *should* be possible. The username and password is being cached in
> ~/.subversion/auth/, but I'm still prompted every time.

I'm confused by this. Can you show a transcript?

Let me try to clear things up:

1. When you run 'svn co svn://', svnserve is sending an authn challenge
to your svn client, which prompts you. The client will cache a
successful response in ~/.subversion/auth.

2. When you run 'svn co svn+ssh://', svnserve sends no authn challenge.
The password prompt you're seeing is coming from *ssh*. So the only way
to have that password cached is to use a tool like 'ssh-agent'. The svn
client's authn abilities are totally out of the picture here, not being
used at all.

3. To make the ssh binary attempt to authenticate as a different user,
use the 'svn+ssh://user@host/' syntax.

Does that help?

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 7 04:08:16 2004

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

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