Search code examples
svntortoisesvnrepositoryssh-tunnel

TortoiseSVN Repository Browser Not Working


When I search for a URL in the TortoiseSVN Repository Browser (that I know exists), it prompts me for the password for the username I have entered. However, it always says my password is denied (I know for a fact that I have the right password). After a number of attempts, I tried closing the password prompt. It takes a good 5 - 10 closes before it finally stops.

The repository browser then says

To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file. Network connection closed unexpectedly.

To start, I didn't access this from any command line, so I'm not sure what this -q thing is. Secondly, I'm not sure what this 'Subversion configuration file' is.

Does anyone have any ideas? Is this is a common TortoiseSVN problem?


Solution

  • In Windows Explorer, right-click on a folder, choose the TortoiseSVN menu from the context menu, and click Settings. When the dialog opens, in the Subversion section at the bottom, click the button labeled Edit. The SVN configuration file will open.

    You'll find the section about configuring tunnel agents at about line 40 or so in the file (in the 32-bit version I have on WinXP - TortoiseSVN 1.6.8, which is slightly outdated).

    Almost all of the lines are probably commented out (start with ###). You'll also want to look at the first section (authentication and authorization customizations).

    For information about configuring Subversion, you should look at the SVN book - the free book (PDF or HTML formats) tells you pretty much everything you need to know about configuring and using SVN.