TortoiseSVN does not save authentication data

TortoiseSVN does not save my authentication information, even when I check the checkbox for authentication and ask for a username and password each time I access it.

How can i fix this?

+59
svn tortoisesvn
Feb 19 '11 at 3:45
source share
11 answers

I had the same problem and I just deleted this folder:

%APPDATA%\subversion\auth\ 

The next time I logged in, it was recreated and my password was correctly saved.

+78
Apr 24 '11 at 7:17
source share

If you access the repo through ssh , 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 Turtle> Preferences. 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 example, my

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

I tried this and TortoiseSVN no longer asks for a password to update or commit. This is a bit insecure, as your ssh password is stored in plain text.

+58
Aug 23 2018-11-11T00:
source share

If you use svn+ssh:// to access your repository, svn is not involved in authentication at all, so it just cannot save authentication. In this case, you need to use an SSH tool like pageant to store your authentication data.

+19
Feb 20 2018-11-11T00:
source share

Here's what worked for me: in TortoiseSVN> Settings> Saved Data, click the "Clear" button next to the authentication data.

+16
08 Oct '12 at 6:11
source share

Given that TortoiseSVN stores authentication information in:

 # WindowsXp "%APPDATA%"\subversion\auth # or, for Windows7 "%APPDATA%"\Roaming\Subversion\auth 

(see Where does TortoiseSVN save cached files in Windows 7? )

You can check if you have any problems in these directories (try creating a file in it).
Perhaps another process is blocking access to the correct authentication file: try restarting and see if the problem persists.

+6
Feb 19 '11 at 9:40
source share

Go to Interlace Settings> Stored Data> Authentication Data
And clearly what you want.

+6
Dec 27 '13 at 18:05
source share

I had exactly the same problem ...

I had to add the following to my %APPDATA%\subversion\servers

store-passwords = yes

(I also added store-auth-creds = yes store-plaintext-passwords = yes for a good grade)

+2
Apr 29 '13 at 19:40
source share

This worked for me on Windows 7. Just delete the following directory and restart TortoiseSVN: C: \ Users [user] \ AppData \ Roaming \ Subversion \ auth

+2
Aug 09 '16 at 23:01
source share

I found the easiest / best way to do this is to check the repository using a URL, for example:

 svn+ssh://userid@host.com/path/to/repo 

Entering a username in TortiseSVN / Plink is automatically used in the future. Combined with Page, you don’t have to worry about anything. And it's not global, so you can have different usernames for different repositories.

+1
Apr 30 '13 at 19:44
source share

If you have applications that programmatically access Subversion, for example, through SharpSVN or SVNKit, your local authentication cache can be changed.

There's a simple fix - uncomment the next line in the local Subversion configuration file

store-auth-creds = no

This file is usually stored in the Application Data directory. (This is the default hidden directory - show hidden folders in the folder). In XP and depending on your installation, this directory is usually located in

C: \ Documents and Settings \ username \ Application Data \ Subversion

If this configuration file is not available in your version of TortoiseSVN, you must configure the same parameter in the "servers" file (in the same directory) as the group-based authentication parameter. Parts of the configuration file have been deprecated since my build. My group uses TortoiseSVN 1.6.0, Build 15855.

0
Mar 10 '11 at 17:38
source share

This is how I used ssh to connect TortoiseSVN to a local Linux Server without logging in:

1. Setup (not sure if this section is needed)

1.1. Open TortoiseSVN settings (right-click the file, tortoiseSVN> Settings)

1,2. In settings select Network

1.3. In the SSH SSH client section, type: "C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe"

1.4. Click OK .

1,5. Install putty

2. Creating keys

2.1. Run "C:\Program Files (x86)\PuTTY\puttygen.exe"

2.2. Choose ssh-2 rsa

2.3. Click Generate (move the cursor in the window to generate the key)

2.4. Move the cursor until it is complete (the completion panel should be completely filled)

2.5. Add key comment (description or username)

2.6. Choose Save public key

2.7. Save it to the file you are creating (example: Documents> ssh> description-public-key)

2.8. Choose Save private key

2.9. Save it to the file you are creating (example: Documents> ssh> description-private-key)

2.10. Select and copy the key from the window

2.11. Save it to the file you are creating (example: Documents> ssh> description-authorized-key.txt )

3. Configure the server side

3.1. Putty on the server and log in as the user

3.2. In the home directory, navigate or create .ssh ( ~/.ssh )

3.3. Open / do authorized_keys ( ~/.ssh/authorized_keys )

3.4. Copy the text from putty gen window that was saved in description-authorized-key.txt

3,5. Paste the text in authorized_keys file

3.6. Save and exit

3.7. chmod 600 authorized_keys

3.9. Make sure subversion server is running (To check: ps -e | grep svnserve , run: svnserve -d )

3.8. putty completion

4. Configure the client side

4.1. Open putty on the client side / Windows / TortoiseSVN

4.2. Go to Connection > SSH > Auth

4.3. In the Private key file for authentication , enter the full path in the description-private-key file (example: C:\Users\<user name>\Documents\ssh\description-private-key.ppk )

4.4. Go to Session

4,5. In the Saved Sessions section, select Default Settings

4.6. With the default settings selected, select save

4.7 Firewalls may need to disable or receive exceptions

4.8. Go to the directory to set the SVN check (right click> SVN Checkout... )

4.9. In the URL of repository use svn+ssh://username@... (example: svn+ssh://jdoe@172.217.0.4/path/to/repo )

Literature:

http://www.tecmint.com/ssh-passwordless-login-with-putty/

https://kb.wisc.edu/education/page.php?id=45394

https://kb.wisc.edu/education/page.php?id=45394

https://tortoisesvn.net/ssh_howto.html

stack overflow

0
Feb 17 '17 at 16:29
source share



All Articles