1.环境: redhat
2.服务器配置
a.设置用户能通过ssh方式登入cvs server
b.确定/etc/service文件有如下两行
cvspserver 2401/tcp
cvspserver 2401/udp
c.在/etc/xinetd.d目录下建立cvspserver文件,内容如下
service cvspserver
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
env = HOME=
server = /usr/bin/cvs
server_args = -f --allow-root=/opt/cvsroot/REPORT pserver
log_on_failure += USERID
only_from = 127.0.0.1
bin = 127.0.0.1
}
3.客户端配置
a.用tortoiseCVS做cvs客户端,protocol选择"Secure shell (:ext:)"
b.eclipse中protocol选择extssh即可
c.其他客户端设置去问google