How to change Eclipse SVN Plugin Password

Subclipse does not collect or store username and password credentials when defining a repository. This is because the JavaHL and SVNKit client adapters are intelligent enough to prompt you for this information when they need to — including when your password has changed.

You can also allow the adapter to cache this information and a common question is how do you delete this cached information so that you can be prompted again? We have an open request to have an API added to JavaHL so that we could provide a UI to do this. Currently, you have to manually delete the cache. The location of the cache varies based on the client adapter used.

JavaHL caches the information in the same location as the command line client — in the Subversion runtime configuration area. On Windows this is located in %APPDATA%\Subversion\auth. On Linux and OSX it is located in ~/.subversion/auth. Just find and delete the file with the cached information.

SVNKit caches information in the Eclipse keyring. By default this is a file named .keyring that is stored in the root of the Eclipse configuration folder. Both of these values can be overriden with command line options. To clear the cache, you have to delete the file. Eclipse will create a new empty keyring when you restart.

Note: If using tortoise SVN, can reset the same by going to settings > Saved Data and clear Authentication Data.

This entry was posted in Articles, Java. Bookmark the permalink.

59 Responses to How to change Eclipse SVN Plugin Password

  1. Aaron Lawrence says:

    I have having trouble locating any of the files you have listed above. I have flex builder 3 installed which is a version of eclipse. I have linked to an SVN repo using a username and password. I now need to change the author information. Is this possible?

  2. admin says:

    Have you checked with both the methods JavaHL and SVN cache?

    • karunesh says:

      I’m not able to find out any files under %APPDATA%\Subversion\auth\svn.simple………
      Also when I’m deleting my .keyring file , it is automatically coming back after 5-10 seconds……….

  3. Sreek says:

    1. delete the file located under C:\Documents and Settings\…..\Application Data\Subversion\auth\svn.simple\
    2. Restart the eclipse IDE.

    • karunesh says:

      I’m not able to find out any files under %APPDATA%\Subversion\auth\svn.simple………
      Also when I’m deleting my .keyring file , it is automatically coming back after 5-10 seconds……….

  4. Feroz says:

    Thanks Sreek it’s working…
    1. delete the file located under C:\Documents and Settings\…..\Application Data\Subversion\auth\svn.simple\
    2. Restart the eclipse IDE.

  5. Joshua Blake says:

    On Mac OS X, it appears the Eclipse keyring file may alternately be located at /.eclipse_keyring (the root of your hard drive), which seems like an awfully strange place to put it, but that’s the only place I’ve found it on my machine.

    I’m using Eclipse w/ Subclipse 1.4.1, with SVNKit 1.2 as my chosen SVN client in the Eclipse SVN prefs (Subversion Client Adapter 1.5.0, SVNKit Client Adapter, SVNKit Library, on Mac OS 10.4.11 (Tiger).

    • francesco says:

      After two days of (discontinued) search your comment was the light at the end of the tunnel! The best! open a blog, copy and paste this comment there! Thanks

    • Chandrajit says:

      Thanks a ton ! The keyring file would not even show up on finder or after searching .eclipse_keyring in Mavericks. But the little devil was there alright when I looked up using terminal. Thereafter a simple rm did the trick.

  6. Some info related:

    maybe you don’t need to change the password, you have to use https for commits.

  7. Michael says:

    Ganymede version 3.4.2
    Ganymede SVN Connector: Default SVNKit (SVNKIT 1.1.7
    no file found under auth folder, deleted keyring as you suggested
    delete repository and source tree.

    restart Ganymede create a new repository location and look it remembers the repository location and username. Where is it storing this information ? cut and paste the password from the email sent from admin and have verified it is correct. When go to check in a file it puts up the repository location dialog ( not sure why? unless this tell you something) enter the password yet again, get auth failure, then can never check in this file again have to delete source and get it again

    How do we get Subversion to forget the password ?

    how help very appreciated !!

  8. Troy says:

    Using Mac Osx 10.4 with myEclipse, subversion 1.2.4 and downloaded the svn binaries from collabnet, however eclipse still complains about the version of the JavaHL bindings not being v1.3 or greater. This is after I add the -Djava.library.path=/Library/Java/Extensions to the eclipse.ini startup in order to find them – it just doesn’t want to use JavaHL. So I use the SVNKit option and locate the .eclipse_keyring file, delete it and still the system does not prompt me for the user / password combination – so I can’t use the JavaHL option and delete the .subversion/auth cache file for passwords and it still remembers the password after I delete the .eclipse_keyring file when using SVNKit!! How can this be, how does it work and STILL remember passwords!

  9. morion4000 says:

    I am using Aptana Studio (standalone installation) under Ubuntu 9.04 Jaunty.
    My .keyring file was located at: ~/.Aptana/Aptana Studio/configuration/org.eclipse.core.runtime.

  10. Noble says:

    Thanks Sreek it’s working…

  11. Manoj says:

    Thanks a lot

  12. Tom says:

    I use Eclipse PDT (Build id: 20090619-0625) on Mac OS X (10.5.7) and the keyring file is located in your home folder ~/.eclipse_keyring

    Just remove the file and start Eclipse. Once you’ve chosen one of the “Team” functions from inside Eclipse, a dialog pops up requesting your login credentials.

    • Gray says:

      Thanks for this. Very helpful. I had a problem where an old port number was stuck in the Mac OS Eclipse keychain. Deleting the $HOME/. eclipse_keyring did the trick. Thanks much @Tom.

    • Paul says:

      Thanks very much! I entered my ssh key passphrase wrongly. Unfortunately, subclipse doesn’t realize this, instead I received the message that the repository couldn’t be found on the remote site. Or maybe the server doesn’t provide enough information. Anyway, deleting the keyring file allowed me to reenter the passphrase correctly.

  13. Bob Gustafson says:

    Running Fedora 11 and Eclipse with Aptana plugin with RadRails and Subclipse.
    Subversion repository is local on same machine.

    Under Window->Show View->Other->SVN->SVN Repositories

    If you Discard Location, then Aptana forgets things.


    If you then, in the RadRails Perspective, select your project and right click it and then go through the Team->SVN->…, you will again get a chance to put in your subversion username and password.

    If you get something about OPTIONS server refused.. (I don’t have it in front of me now), it probably means that you are not running the subversion server (subserve). This needs to be started separately, perhaps as:

    (from the subversion binary directory)
    svnserve -d -r /home/user1/SVNRepository

    The SVN repository name in the Aptana dialogs must be of the form:


    The svnserve server speaks the svn protocol.

    You can use Wireshark to monitor the back and forth between Eclipse/Aptana/Subclipse and the svnserve server. The svnserve is listening on port 3690.

  14. sharon says:

    thanks sreeks 😀

  15. Shyama says:

    I’m using Ubuntu 9.10 with Eclipse 3.5.1 and Subclipse. I got the cache cleared through deleting ~/.eclipse/org.eclipse.platform_3.5.0_155965261/configuration/org.eclipse.core.runtime/.keyring

  16. shreeram says:

    Thanks its works fine..
    In command prompt the folder are not visible..

  17. Karan Batra says:

    Thanks it worked fine for me.

    I do want to mention for the sake of those who are using (like me) a modified version of Eclipse CDT for Embedded Linux Development, called MontaVista DevRocket. The fix works, except the file is in a more inconspicuous location.

    One can follow the following steps:
    1) cd to the eclipse settings folder
    $cd ~/.eclipse
    2) Find all the files named .keyring in this folder and delete them
    $rm `find -name .keyring`

  18. Tejas says:

    Thanks Sreek!!!

  19. Sreeharsha Venkatapuram says:

    Thank you for the hint. For people who use Vista, You will find the “auth” folder in C:\Users\…\AppData\Roaming\Subversion\auth\svn.simple

  20. sara says:

    Lots of thanks

  21. dharmender says:


    Thanks , it helped me out 🙂

  22. destere says:

    what does ~/.eclipse/ means?


  23. Thanks says:

    Worked well. Thanks for saving my ass.

  24. T says:

    Just another thank you from down here!

    I just needed to change the ssh port number, took me half an hour to figure that out, after trying all kinds of places where, according to svnkit documentation, it looks for connection information, changed this and that …

    Apparently once a connection was successful someone thought there would never ever be a need to edit that.

  25. @destere : “~” is the alias for the user home folder on many Unix/Linux system. Another alternative is “$HOME” . Which is usually “/home/username” (Linux) or “/Users/username” (Mac) . Therefore “~/.eclipse” is the directory name “.eclipse” in user’s $HOME directory (probably the folder to store local config for Eclipse of that user)

  26. Jo says:

    In my Environment (Win XP, Eclipse Helios, Subversive with SVNKit the location of the stored password was:


  27. Pedro says:

    Thanks, worked great!

  28. Maxime Mularz says:


    In my case Windows 7, Eclipse Helios:

    1/ Delete : /AppData/Roaming/Subversion/*
    2/ Delete : /eclipse/configuration/org.eclipse.core.runtime/.keyring


  29. Abraham says:

    Thnx. This was really helpful.

  30. Sachin says:

    Worked. Many Thanks

  31. crisboot says:

    Thanks Maxime you saved me!

  32. prerna kapadia says:

    Thanks Sreek ! deleting file under svn.simple ….. was simple 🙂
    That solution worked for Eclipse Galileo SVN plugin ..

  33. Rajesh Singh says:

    Ubuntu: Delete “.keyring” file at “eclipse/configuration/org.eclipse.core.runtime” and restart eclipse.

  34. tejsingh kaurav says:

    On the mac machine
    1- Unhidden all the file by entering below command on terminal
    defaults write AppleShowAllFiles -bool true
    2- In your home directory folder you will see the .eclipse_keyring file
    delete it.
    3- Restart the eclipse, this time svn will ask for password.

    I tried it on Mac OS X Version 10.6.8

  35. rahul patel says:

    Thanks, deleting C:\Users\…\AppData\Roaming\Subversion\auth\svn.simple worked for me.

    For when I try to update or lock from RAD it asks for new user credentials.

  36. sikinder says:

    Thanks Sreek. This worked fine for me.

  37. Oldrich says:

    …even on Ubuntu with Eclipse not installed, only unzipped.

  38. Oldrich says:

    Sorry, I meant to say that Maxime’s solution worked (deleting both keyring and Subversion/*).

  39. Pingback: How to change Eclipse SVN Plugin Password | Imran Tariq's Blog

  40. Sharan Rajendran says:

    Thanks… For Windows7, deleting the file under C:\Users\\Application Data\Subversion\auth\svn.simple and restarting Eclipse worked for me.

  41. Great website you have here but I was wondering if you
    knew of any discussion boards that cover the same topics talked about here?
    I’d really like to be a part of group where I can get advice from other experienced people that share the same interest. If you have any recommendations, please let me know. Kudos!

  42. suresh says:

    Hi @Sreek, thank you…… it worked

  43. I do consider all of the ideas you have offered in your post.
    They’re very convincing and will definitely work. Nonetheless,
    the posts are too quick for novices. Could you please extend them a little
    from next time? Thank you for the post.

  44. AC says:

    For Mac OSX 10.9.x and eclipse Helios, the file was located at: ~/.eclipse/ Deleting that and restarting eclipse fixed that for me.

  45. Hey there! This post could not be written any better!
    Reading this post reminds me of my previous room mate!
    He always kept chatting about this. I will forward this article to him.
    Pretty sure he will have a good read. Thank you for sharing!

  46. domain says:

    It’s difficult to find experienced people about this subject, but you sound like you know what you’re talking about!

  47. Pingback: How to change Eclipse SVN Plugin Password – ArrayOutOfBound

  48. Sorry, this page is of no help to me. I’m using Eclipse 4.5.2 on Windows 7 Enterprise.
    i) Folder AppData : Have no access to this folder, I can’t even see it.
    ii) File .keyring : Not present in the Eclipse installation folder (where I can see the folders Eclipse-4-5-2-JavaXtd, Intégrations, Jdks and Serveurs tough).
    May this version of Eclipse is enterprise-customized, maybe the .keyring file is named different.

Leave a Reply

Your email address will not be published. Required fields are marked *