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

Re: TSVN asks for password over and over and over...

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-01-25 19:31:42 CET

Eric Poole wrote:

> I'm a little confused. When I get the dialog box asking for my
> password, is that TortoiseSVN that provides that dialog box, or the ssh
> client, or Subversion (on the server machine over on the other side of
> town)?

It's the ssh client. TortoiseSVN installs a modified version of plink
(TortoisePlink) which it uses. The reason we use a modified version is
that the original plink is a console application which would pop up an
ugly console window for every repository access. TortoisePlink hides
that console window.

> All I did on this machine is install TortoiseSVN. I didn't install
> Subversion or PuTTY (to my knowledge ... unless the TSVN installer did
> that for me).
> All I really need is for TortoiseSVN (or the ssh client) to store my
> password for the duration of the current session, and then forget about it.

As the FAQ explains, you should install pageant. That's a tool from
putty which caches your ssh authentication data during your logon session.

> I am wondering if this could not be done by the following...
> 1. Identify the class that provides, and reads from, the dialog box
> that asks for the password;
> 2. Insert a private variable into the class, that holds the password
> the user entered;
> 3. Initialize that variable to NULL on TSVN startup (so that it always
> forgets the last password entry);
> 4. When executing the method that presents the dialog box asking for
> the password, first look at that variable and if it's not NULL, use its
> contents instead of presenting the dialog box.

As I explained before: that's not possible. Subversion never even sees
the authentication because plink (the ssh client) does this *outside* of
the Subversion process.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Jan 25 19:32:02 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.