You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Meulenkamp, Felix" <FM...@PSI.de> on 2005/03/08 11:22:51 UTC

Specifing alternate svnserver for use behind a ssh tunnel

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


Re: Specifing alternate svnserver for use behind a ssh tunnel

Posted by Tom Mornini <tm...@infomania.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You need to set up your shell environment so that that ~/bin is in path
when you start a shell.

On Mar 8, 2005, at 3:22 AM, Meulenkamp, Felix wrote:

> 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
>
>
- -- 
- -- Tom Mornini

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCLdFEzaKkuvKwKvcRAovsAJ4pR5it6IkhBQNNf3z6OJU3oAEXjACfdf/3
66F9tPEYTUuAlbj4OAW+qbU=
=lwL/
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org