Re: CVS over ssh question

From:
Date: 09/06/02


Date: Thu, 05 Sep 2002 23:51:28 -0400

In <uncfnsc0kgildc@corp.supernews.com>, Tom Maddox wrote:

> Hi, all,
>
> Sorry for the cross-post, but I've got an obscure question, and I'm not
> sure what the best forum for it is.
>
> Here's the scenario:
> The company I'm at wants a remote group of developers to be able to
> access our CVS repository securely over an encrypted connection, to
> which end I've set up ssh tunneling. I've got that working fine, but
> another requirement has been put on me, namely that the remote
> developers not be allowed shell access to the CVS machine, and I can't
> figure out a good way to accomplish that while still allowing CVS access
> over ssh.
>
> I've tried using /bin/false as a shell as well as a simple text file
> containing an error message, but both cause ssh to return an error code
> and drop the connection. Basically, it seems like I need a shell that
> will do nothing while a user is connected. Anyone have a suggestion?
>
> Thanks,
>
> Tom
 
In your .cshrc do the following

setenv CVS_RSH ssh

then you can set your CVSROOT to

setenv CVSROOT :ext:user@remote_machinename:/cvs_path

That's all you have to do to make CVS work over SSH.



Relevant Pages

  • Re: CVS over ssh question
    ... Tom Maddox wrote: ... > has been put on me, namely that the remote developers not be allowed shell ... > access to the CVS machine, and I can't figure out a good way to accomplish ... > that while still allowing CVS access over ssh. ...
    (comp.os.linux.security)
  • Re: CVS over ssh question
    ... > our CVS repository securely over an encrypted connection, ... > has been put on me, namely that the remote developers not be allowed shell ... > that while still allowing CVS access over ssh. ...
    (comp.os.linux.security)
  • CVS over ssh question
    ... our CVS repository securely over an encrypted connection, ... that while still allowing CVS access over ssh. ... I've tried using /bin/false as a shell as well as a simple text file ...
    (comp.os.linux.security)
  • Re: Connection timeouts with SSH and CVS
    ... >> I'm having problems using SSH and CVS at my work. ... they timeout before anything starts. ... SSH connection) just fine. ...
    (Debian-User)
  • Connection timeouts with SSH and CVS
    ... I'm having problems using SSH and CVS at my work. ... debug1: connect to address 999.999.999.999 port 22: Connection timed out ...
    (Debian-User)