[darcs-users] remote write access (without ssh)?
Pekka Pessi
ppessi at gmail.com
Thu Apr 24 11:46:19 UTC 2008
2008/4/23 Miklos Vajna <vmiklos at frugalware.org>:
> On Tue, Apr 22, 2008 at 10:32:07PM +0200, Johannes Waldmann <waldmann at imn.htwk-leipzig.de> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dtm
Type: application/octet-stream
Size: 1553 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20080424/2d655af6/attachment-0001.obj
More information about the darcs-users
mailing list