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

RE: svn+ssh asks password twice

From: Bob Archer <bob.archer_at_amsi.com>
Date: Mon, 16 Nov 2009 10:41:59 -0500

> Subversion command line client request password twice or more with
> svn+ssh access method. I understand that it need to do several
> requests for one operation, but why can't it share the same SSH
> connection? I want to enter a bug report, but because of "buddy
> system" I mail it here first.
>
> It becomes a major annoyance when in addition you have several
> externals in the same svn+ssh repository and switch from passwords
> to
> SSH keys is not welcomed.
>
> Thanks for support,

From the svn book:

When using svn+ssh:// URLs to access a repository, remember that it's the ssh program prompting for authentication, and not the svn client program. That means there's no automatic password-caching going on (see the section called "Client Credentials Caching"). The Subversion client often makes multiple connections to the repository, though users don't normally notice this due to the password caching feature. When using svn+ssh:// URLs, however, users may be annoyed by ssh repeatedly asking for a password for every outbound connection. The solution is to use a separate SSH password-caching tool such as ssh-agent on a Unix-like system, or pageant on Windows.

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2418565

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-16 16:44:02 CET

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.