[lug] CVS access only

Tom Tromey tromey at redhat.com
Thu Mar 15 09:58:47 MST 2001


[ we had a transient mail problem so I'm resending this ]

>>>>> "Scott" == Scott A Herod <herod at interact-tv.com> writes:

Scott>   I'm trying to set up a CVS site that is accessible through
Scott> ssh to some specific networked users but I don't won't them to
Scott> have login access.  Is there a standard way to do that?

Yes, there is.  We do this on sources.redhat.com.

First disable all the login services except sshd.

Then in the user's .ssh/authorized_keys, instead of just the key, put
this:

no-port-forwarding,no-X11-forwarding,no-agent-forwarding,command="/usr/local/bin/cvs server" ... rest of key here ...

Read the sshd man page (I imagine) for more info on how this works.

Tom



More information about the LUG mailing list