[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: anatoly techtonik <techtonik_at_gmail.com>
Date: Mon, 16 Nov 2009 17:47:58 +0200

That's exactly that I want to discuss. pageant is a password-caching
tool only for passwords for SSH keys - not for SSH passwords. In
addition, cached passwords is not an option.

Why svn can't reuse one ssh connection?

-- 
anatoly t.
On Mon, Nov 16, 2009 at 5:41 PM, Bob Archer <Bob.Archer_at_amsi.com> 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.
>
> BOb
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2418568
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-16 16:49:04 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.