<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<HTML>
<HEAD>
  <META NAME="generator" CONTENT=
  "HTML Tidy for Linux/x86 (vers 1st August 2003), see www.w3.org">

  <TITLE>Chrooted SSH CVS Server Management Scripts</TITLE>
  <META HTTP-EQUIV="Content-Type" CONTENT=
  "text/html; charset=iso-8859-1">
  <META NAME="author" CONTENT="Pascal J. Bourguignon">
  <META HTTP-EQUIV="Reply-to" NAME="Reply-to" CONTENT=
  "pjb@informatimago.com">
  <META HTTP-EQUIV="Description" NAME="description" CONTENT=
  "Chrooted SSH CVS Server Management Scripts.">
  <META NAME="keywords" CONTENT=
  "Chrooted SSH CVS Server Management Scripts">
<link rel="stylesheet" type="text/css" href="../default.css"></HEAD>

<BODY>
  <!--TOP-BEGIN-->
<!-- This section is automatically generated by html-update, -->
<!-- from data in 'node.el'.    Please, do not edit it here. -->
<DIV CLASS="TOP"></DIV>
<!--TOP-END-->
<!--MENU-BEGIN-->
<!-- This section is automatically generated by html-update, -->
<!-- from data in 'node.el'.    Please, do not edit it here. -->
<DIV CLASS="MENU"><HR><P>|
 <A CLASS="button" HREF="../toc.html">Contents</a> |
 <A CLASS="button" HREF="../index.html">Home</a> |
 <A CLASS="button" HREF="rpm-rebuilddb.html">Previous</a> |
 <A CLASS="button" HREF="../develop/sms/index.html">Up</a> |
 <A CLASS="button" HREF="emacs-on-user-mode-linux.html">Next</a> |
</P><HR></DIV>
<!--MENU-END-->


  <H1>Chrooted SSH CVS Server Management
  Scripts</H1>

  <P>We&#39;re presenting a set of scripts to manage CVS repositories
  accessed thru SSH in chroot jails. These scripts are based on the
  document <A HREF=
  "http://www.idealx.org/prj/idx-chrooted-ssh-cvs/dist/chrooted-ssh-cvs-server.html">
  Chrooted SSH CVS server HOW-TO - DRAFT version</A> by Olivier Berger
  and Olivier Tharan from <A HREF=
  "http://www.IDEALX.org">IDEALX</A>.</P>

  <BLOCKQUOTE CITE=
  "http://www.idealx.org/prj/idx-chrooted-ssh-cvs/dist/chrooted-ssh-cvs-server.html">
  <P><STRONG>Abstract.</STRONG> This document describes the steps
  necessary to setup a very network-secure CVS server, allowing SSH
  access to a CVS repository. It is then possible to have multiple
  repositories on the same server, each one in its own protected
  directory tree (chrooted). The use of SSH (with CVS_RSH) as a
  transport mechanism for CVS (instead of having a CVS pserver and SSH
  tunneling between client and server) allows much more secure and
  flexible use on the client side (provided SSH is installed, of
  course). The shell accounts necessary for SSH to run are disabled in
  order to allow only remote access to CVS. Both read-only (and even
  anonymous, i.e. with a known password or even no password at all) and
  read-write access can be granted, depending on the user accounts.</P>
  </BLOCKQUOTE>

  <P>These scripts are available under the <A HREF=
  "http://www.gnu.org/copyleft/gpl.html">GPL</A>.</P>

  <P>Sample:</P>
  <PRE>
    make-project <EM>ProjectName</EM>
    make-user    <EM>ProjectName</EM> --read-only <EM>Visitor</EM> --read-write <EM>Dev1</EM> <EM>Dev2</EM>
    make-module  <EM>ProjectName</EM> <EM>Module1</EM> <EM>Module2</EM>
</PRE>

  <P>Then the users may access the repositories with:</P>
  <PRE>
    export CVS_RSH=ssh
    export CVSROOT=:ext:<EM>Dev1</EM>@cvs.example.com:/cvs
    cvs checkout <EM>Module1</EM>
</PRE>

  <P>This is a new version, now tested on:</P>

  <UL>
    <LI>Linux SuSE 7.1</LI>

    <LI>Linux mandrake 6.1</LI>
  </UL>

  <P>with some glitches corrected.</P>
































































































<!--DOWNLOAD-BEG-chrooted-ssh-cvs-->
<!-- This section is automatically generated by html-update, -->
<!-- from data in 'node.el'.    Please, do not edit it here. -->
<H2><A NAME="chrooted-ssh-cvs">Downloading chrooted-ssh-cvs</A></H2>
<P>Chrooted SSH CVS Server Management Scripts</P>
<p><br></p>
<TABLE BORDER="1" WIDTH="95%" SUMMARY="Download sources">
  <TR><TH>Mirrors</TH>
    <TH>France</TH>
    <TH>Germany</TH>
  </TR>
  <TR VALIGN="TOP"><TD><CODE>chrooted-ssh-cvs.README.gz</CODE><BR>(3899 bytes)</TD>
    <TD><A HREF="http://informatimago.free.fr/archives/develop/linux/chrooted-ssh-cvs.README.gz">
        Download</A><BR>(HTTP)</TD>
    <TD><A HREF="ftp://ftp.informatimago.com/pub/free/develop/linux/chrooted-ssh-cvs.README.gz">
        Download</A><BR>(FTP)</TD>
  </TR>
  <TR VALIGN="TOP"><TD><CODE>chrooted-ssh-cvs.README.gz.md5sum</CODE><BR>(76 bytes)</TD>
    <TD><A HREF="http://informatimago.free.fr/archives/develop/linux/chrooted-ssh-cvs.README.gz.md5sum">
        Download</A><BR>(HTTP)</TD>
    <TD><A HREF="ftp://ftp.informatimago.com/pub/free/develop/linux/chrooted-ssh-cvs.README.gz.md5sum">
        Download</A><BR>(FTP)</TD>
  </TR>
  <TR VALIGN="TOP"><TD><CODE>chrooted-ssh-cvs.tar.gz</CODE><BR>(22563 bytes)</TD>
    <TD><A HREF="http://informatimago.free.fr/archives/develop/linux/chrooted-ssh-cvs.tar.gz">
        Download</A><BR>(HTTP)</TD>
    <TD><A HREF="ftp://ftp.informatimago.com/pub/free/develop/linux/chrooted-ssh-cvs.tar.gz">
        Download</A><BR>(FTP)</TD>
  </TR>
  <TR VALIGN="TOP"><TD><CODE>chrooted-ssh-cvs.tar.gz.md5sum</CODE><BR>(73 bytes)</TD>
    <TD><A HREF="http://informatimago.free.fr/archives/develop/linux/chrooted-ssh-cvs.tar.gz.md5sum">
        Download</A><BR>(HTTP)</TD>
    <TD><A HREF="ftp://ftp.informatimago.com/pub/free/develop/linux/chrooted-ssh-cvs.tar.gz.md5sum">
        Download</A><BR>(FTP)</TD>
  </TR>
</TABLE>
<!--DOWNLOAD-END-->
  <!--MENU-BEGIN-->
<!-- This section is automatically generated by html-update, -->
<!-- from data in 'node.el'.    Please, do not edit it here. -->
<DIV CLASS="MENU"><HR><P>|
 <A CLASS="button" HREF="../toc.html">Contents</a> |
 <A CLASS="button" HREF="../index.html">Home</a> |
 <A CLASS="button" HREF="rpm-rebuilddb.html">Previous</a> |
 <A CLASS="button" HREF="../develop/sms/index.html">Up</a> |
 <A CLASS="button" HREF="emacs-on-user-mode-linux.html">Next</a> |
</P><HR></DIV>
<!--MENU-END-->
  <!--BOTTOM-BEGIN-->
<!-- This section is automatically generated by html-update, -->
<!-- from data in 'node.el'.    Please, do not edit it here. -->
<DIV CLASS="BOTTOM">
<hr><code><small>
 | <a href="http://www.informatimago.com//linux/chrooted-ssh-cvs.html">Mirror on informatimago.com</a>
 | <a href="http://informatimago.free.fr/i//linux/chrooted-ssh-cvs.html">Mirror on free.fr</a>
 | </small></code>

<BR><SMALL>
      <a href="http://validator.w3.org/check?uri=referer"><img
          src="http://www.w3.org/Icons/valid-html401"
          alt="Valid HTML 4.01!" height="31" width="88"></a>
   </SMALL>
</DIV>
<!--BOTTOM-END-->
</BODY>
</HTML>
<!-- chrooted-ssh-cvs.en.html         == 2004-02-24 05:52:33 == pascal   -->
ViewGit