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

Re: ssh help

From: H. S. Teoh <hsteoh_at_quickfur.ath.cx>
Date: 2004-08-20 07:35:20 CEST

On Thu, Aug 19, 2004 at 06:12:58PM -0600, Lewis Hall wrote:
> Hi All,
[...]
> Questions:
[...]
> When svnserve is started manually, a -r option can be specified, ie:
>
> $ svnserve -d -r /usr/local/repositories
>
>
> Is there a *nice* way to pass a -r option to the ssh invoked svnserver
> process?
>
> And can the ssh invoked svnserve processes be forced to use any option
> beyond (-t) ?

The way I did it on my server was:

        mv /usr/bin/svnserve /usr/bin/svnserve.real
        cat > /usr/bin/svnserve
        #!/bin/sh
        svnserve -r $DESIRED_ROOTDIR "$@"
        ^D

YMMV. HTH.

[...]
> Once I have modified the authorized_keys file, what is the exact syntax
> of the ssh svn commands? I don't think it is still this?
>
> $ svn list svn+ssh://host.example.com/repos/project

If you do it using the script I described above, this stays exactly
the same.

T

-- 
Computers are like a jungle: they have monitor lizards, rams, mice, c-moss,
binary trees... and bugs.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 20 07:49:16 2004

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.