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

Re: Double ssh login required?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-08-03 14:47:14 CEST

On Tue, 2004-08-03 at 04:40, Pep wrote:
> This was not the case before but is now and I have honestly not changed
> anything. Or at least I think I have not changed anything.

You must have upgraded from a very old version of svn to a 1.0.x
version.

Whenever the svn client "connects to the server", the ssh binary will
prompt you for authentication. In old, pre-1.0 versions of svn, the
checkout command connected to the server once. svn 1.0 and later
connects to the repository twice.

Normally, it's no big deal. If you're using http:// or svn://, then the
second connection doesn't prompt you, because the svn authn caching
system has kicked in.

If you're using svn+ssh://, the authn caching system is being
circumvented; the svn client never receives an authn challenge all.
Instead, it's the ssh binary doing all the authentication.

So, you need to use a program like 'ssh-agent' to cache your ssh
password in memory.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 3 14:50:13 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.