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

Re: Why is my svn+ssh:// access asking 4 passwd twice?

From: Matthew England <mengland_at_mengland.net>
Date: 2005-04-12 03:48:01 CEST

At 4/11/2005 08:32 PM, Andrew Thompson wrote:
>http://svnbook.red-bean.com/en/1.1/ch06s03.html#svn-ch-6-sect-3.4

Yes, but that does not explain why formerly (on the same system with the
same software but with a different repository) when I did complete 'svn co
svn+ssh://' procedures why said procedure only asked for my password *once*
during said procedure...and now on a diff repository it's asking for my
password *twice* in the same 'svn co' get.

No, I believe that this difference (one repo asks for the password, the
other asks for the same password twice) significies some difference/problem
with the repo that asks for the password twice. I just don't know what
that problem is (presuming the repo does control the different); any
suggestions? Do I need to form a repo in a certain fashion? Other issues?

Additionally, when I'm using my Tortoise flavor of my client (although I
more often use the cmdline on both cygwin and Linux), I see that after I
use the first password that the ".svn" subdir appears and is accessible on
my local system (when I started with a blank "checkout" local dir); the
local file system does not change so long as I do not issue my password the
2nd time (when Tortoise asks for it, per the ssh "relogin" for the same
checkout operation).

Thus this further supports my above theory, imho.

Further, when the book quotes:

>If you want to prevent ssh from repeatedly asking for your password [...]

... I suspect the "repeatedly" means "repeatedly, once for each svn-cleitn
access operation" not "repeatedly during the same svn-client access." Am I
wrong?

-Matt

At 4/11/2005 08:32 PM, Andrew Thompson wrote:
>Matthew England wrote:
>>Hello,
>>(I figure this is a total newbie question from an ignorant user/admin,
>>but I couldn't find it in the FAQ--yet--so I thought I'd ask it here...)
>>Why is my "svn co svn+ssh://..." access asking for my ssh passwd twice
>>(even when I do not mistype my password)?
>>It seems that on the first password pass it creates a ".svn" subdirectory
>>first and then asks for the password again to get the rest of the files.
>>Any idea what's going on here?
>
>http://svnbook.red-bean.com/en/1.1/ch06s03.html#svn-ch-6-sect-3.4
>
>Last paragraph:
>
>"A final note: when using svn+ssh:// URLs to access a repository,
>remember that it's the ssh program prompting you for authentication, and
>not the svn program. That means there's no automatic password caching
>going on (see the section called "Client Credentials Caching"). If you
>want to prevent ssh from repeatedly asking for your password, you'll need
>to use a separate memory-caching tool like ssh-agent on a Unix-like
>system, or pageant on Windows."
>
>--
>Andrew Thompson
>http://aktzero.com/
>Interested in a hosted SVN repository? Email me, let's talk...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 12 03:50:11 2005

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.