Do I keep my existing tunnel setings because the SVN Server isn't directly visible from the outside word, hence the need to the SSH Server in the middle.
Steve :)
Main Topics
Browse All TopicsClient: Windows Vista
SSH Server: Linux
SVN Server: FreeBSD
When I use the "Repo Browser" in TortoiseSVN on the client, I am challenged for a username and password (as intended) but it always fails with the following error:
-----
OPTIONS of 'http://localhost/<path to my repo>': authorization failed: Could not authenticate to server: rejected Basic challenge (http://localhost)
-----
Before using TortoiseSVN I make a connection using putty to the SSH Server, which has 3 tunnels set up:
L 80:localhost:80 <ip_address_of_SVN_Server>
L 443:localhost:443 <ip_address_of_SVN_Server>
L 3690:localhost:3690 <ip_address_of_SVN_Server>
I know *something* is working because without the tunnels I can't even see my repo - but with them (providing I give the correct path) I'm at least getting challenged. As you'll see in the question title, my topology is:
TortoiseSVN on Vista (with tunnels to SSH Server) --> SSH Server --> SVN Server
Any help would be appreciated.
Many thanks,
Steve
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Also, to shead a little more light on what may be happening with you current config:
Can you access SVN via HTTP on the other side of the SSH server? by accessing the SVN server directly via HTTP?
"TortoiseSVN on Vista (with tunnels to SSH Server) --> SSH Server --> SVN Server"
from this network? ----^
Maybe the SVN server is not set up to server SVN content via HTTP. Maybe the HTTP server on the SVN server machine is not implementing Basic Auth. Are you using Apache on the FreeBSD box? Is Basic auth set up for that host?
I still think that direct ssh access to the SVN server seems the way to go, but is not, tell me a little more about the FreeBSD box's HTTP server (the box hosting the SVN server).
Looking at your tunnels again, it seems that they were set up wrong. You have:
L 80:localhost:80 <ip_address_of_SVN_Server>
L 443:localhost:443 <ip_address_of_SVN_Server>
L 3690:localhost:3690 <ip_address_of_SVN_Server>
But shouldn't it be:
L 80:<ip_address_of_SVN_Serve
L 443:<ip_address_of_SVN_Serv
L 3690:<ip_address_of_SVN_Ser
Yes, I normally use HTTP access to the SVN Server from the internal network.
I am running Apache on the FreeBSD box, and the SVN stuff is part of a 'trac' installation. Authentication is handled like this (some information omitted):
Is there any kind of reverse tunnelling that I need to set up on the SSH server?
No.
I noticed that you are forwarding 443. Are you using HTTPS? If so, that is going to cause trouble trying to tunnel with HTTPS since the ip/domain names won't match....you might have to just drop the SSL on the HTTP and fall back to SSH only for encryption.
Business Accounts
Answer for Membership
by: karlwilburPosted on 2009-04-20 at 19:37:31ID: 24190416
Rather than use the "http" protocol try "svn+ssh"
ess_of_SVN _Server>:<ss h_port>/<pat h_to_repo>/
So the repo URL would be:
svn+ssh://<username>@<ip_addr
the port can be omitted if it is the SSH default (port 22).