[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: restricted shell for cvs/ssh access only
From: |
Noel Yap |
Subject: |
Re: restricted shell for cvs/ssh access only |
Date: |
Mon, 4 Nov 2002 17:35:51 -0800 (PST) |
--- Neil Dombrowski <address@hidden> wrote:
> I have to allow some clients access to our company's
> cvs repository via
> ssh, but I don't want to give them a prompt, only
> access to cvs
> commands. How might I accomplish this?
The subject of your email implies you have an inkling.
There's a way in SSH2 (I've heard the same can be done
in SSH) to specify one and only one executable per key
to be executed. Since I haven't done it in a while,
you'll have to consult another source (eg O'Reilly's
SSH book) for the details.
Once you have SSH set up, it's easy:
1. Users execute CVS the same way except their CVSROOT
will specify using ssh.
2. Users who try to use ssh directly will wind up
executing the cvs server.
HTH,
Noel
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/