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

Re: Specifing alternate svnserver for use behind a ssh tunnel

From: Meulenkamp, Felix <FMeulenkamp_at_PSI.de>
Date: 2005-03-08 17:44:27 CET

Hi Eric,
Thank you very much...
Two keys with different behavior is a nice idea.

I better had mark this mail as feature-request...
,because i like to do this in a more generic fashion.
Of course can i do same special ssh tricks, like binding svnserve to a local port or override the commando... but this will solve the problem just for me, not for other ones.

I think this is a missing functionality, which is solved successfully by other tools eg. CVS.

Sorry both .profile and .bash_rc set my $PATH, none is run by sshd.

 Felix Meulenkamp

-----Ursprüngliche Nachricht-----
Gesendet: Dienstag, 8. März 2005 17:17
An: Meulenkamp, Felix
Betreff: Re: Specifing alternate svnserver for use behind a ssh tunnel

>>>>> "Felix" == Meulenkamp, Felix <FMeulenkamp@PSI.de> writes:

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

I think this is a FAQ, although there is no entry in the FAQ :-(

Anyway, read the sshd man page: it describes the file
~/.ssh/authorized_keys; in that file (on the server) you can specify a
command to run whenever someone logs in; you can force that command to
be /usr/local/bin/svnserve or whatever you want.

This will be inconvenient if your users use ssh _both_ to get an
interactive login shell _and_ to do subversion operations, but if
that's a problem, you can have them create a separate key for use only
with Subversion, and edit only that key's command.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 8 17:47:29 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.