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?
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.
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.
If you're using svn+ssh://
to access your repository, svn isn't involved in authentication at all so it simply can not save the authentication. In that case, you have to use an SSH tool like pageant
to store your authentication data.
Here is what worked for me: in TortoiseSVN > Settings > Saved Data, click the Clear button near Authentication Data.
Considering TortoiseSVN save the authentication informations in the:
# WindowsXp
"%APPDATA%"\subversion\auth
# or, for Windows7
"%APPDATA%"\Roaming\Subversion\auth
(see Where does TortoiseSVN save password cached files in Windows 7?)
You could check if you have any right issue in those directories (try to create a file in it).
Maybe another process block the access to the right authentication file: try rebooting, and see if the problem persist.