[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Specifing alternate svnserver for use behind a ssh tunnel

From: Meulenkamp, Felix <FMeulenkamp_at_PSI.de>
Date: 2005-03-08 12:22:51 CET

Hallo,
i like to specify an alternate program to run as svnserve behind a tunnel.

My setting is as follow:

I have access to a webserver with an ssh-account, but i've no control about this server.
Since there is no subversion installed by my hoster, i have compiled my private version and installed this under my home in ~/bin/.

Now i want to connect to this server thru ssh.
But my svnserve binary is not found by ssh.
CVS offers an environment parameter for this called $CVS_SERVER.
Is there any way to handle tunnels in a more flexible way?
Perhaps a few substutions in [tunnel] section.
eg. %h = host, %u = user; %H = user@host, %p = password and %s = svnserve -t
so "ssh = ssh" would become "ssh = ssh %H %s"
or for me "jodo = ssh %H PATH=\$PATH:/home/johndoe/bin; %s"

With fallback %H %s if nothing is specified (just for compatiblity).

By the way, since the server is an simple web hosters server, i've no access to any httpd.conf (Apache2 isn't even running) and i am not willing to open any port for a svnserve daemon.
And for sake of usablibity i will not bind svnserve to a local address and tunel my local ports thru ssh to them by hand.

regrets
 Felix Meulenkamp

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 8 12:25:14 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.