2008/4/23 Miklos Vajna <[EMAIL PROTECTED]>: > On Tue, Apr 22, 2008 at 10:32:07PM +0200, Johannes Waldmann <[EMAIL > PROTECTED]> wrote: > > What's the current best practice for setting up > > a repository for remote write acces > > (and not giving full shell access) > > > > It seems ssh is required, so scponly does not work. > > This is quite the show-stopper. > > > > For CVS, one could apparently use (in sshd_config) > > Match User foo ; ForceCommand cvs server .
If you limit yourself of reading from repo, you could do similar tricks with darcs 2.0: Match User foo ; ForceCommand darcs transfer-mode --repodir /your/repo/path > you can write a wrapper yourself as well, it's not that hard. Here is mine, it uses the transfer-mode from darcs-2 and avoids opening the system with scp/sftp. The list of allowed repos is read from ~/.ssh/darcs-repos. -- Pekka.Pessi mail at nokia.com
dtm
Description: Binary data
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
