Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseSVN not saving authentication details

TortoiseSVN is not saving my authentication details even when I check the save authentication checkbox, and asking me to enter username and password every time I access it.

How can I fix this?

like image 761
Ravi Avatar asked Feb 19 '11 03:02

Ravi


People also ask

What does red exclamation mark mean in TortoiseSVN?

That means the Subversion status is normal. As soon as you start editing a file, the status changes to modified and the icon overlay then changes to a red exclamation mark. That way you can easily see which files were changed since you last updated your working copy and need to be committed.

Where does TortoiseSVN store passwords?

Enter your username and password. The checkbox will make TortoiseSVN store the credentials in Subversion's default directory: %APPDATA%\Subversion\auth in three subdirectories: svn. simple contains credentials for basic authentication (username/password).

How do I get rid of saved authentication in SVN?

The first thing that you need to do is to find the auth folder in the subversion directory that can be found tipically in the %appdata%\Subversion\auth e.g C:\Users\<your-username>\AppData\Roaming\Subversion\auth . Finally, select the auth folder and delete it.


2 Answers

I had the same issue and I simply deleted this folder:

%APPDATA%\subversion\auth\ 

Next time I logged in it was created anew and my password was properly saved.

like image 165
Jocelyn Avatar answered Oct 09 '22 04:10

Jocelyn


If you access your repo over ssh, then you can use the following solution to save your ssh credentials:

The easiest way to do this is to right click in Windows Explorer, select Tortoise > Settings. Then in the Settings window select Network. Then in the SSH client set use the Tortoise SSH client, TortoisePlink, to use your username and password. For example:

[DRIVE LETTER]:\[DIR]\TortoiseSVN\bin\TortoisePlink.exe -l foo -pw bar 

source

For instance, mine is

C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe -l *mysvnusername* -pw *mysvnpassword* 

I have tried this and TortoiseSVN does not ask you for password for update or commit anymore. It is slightly insecure, since your ssh password is stored in plain text.

like image 25
Souvik Avatar answered Oct 09 '22 02:10

Souvik