[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: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Mon, 16 Nov 2009 16:00:23 -0600

On Nov 16, 2009, at 09:41, Bob Archer wrote:

>> 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.

This is also a FAQ:

http://subversion.tigris.org/faq.html#ssh-auth-cache

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-16 23:01:32 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.