LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1276|回复: 1

cvs服务器配置

[复制链接]
发表于 2004-3-30 09:38:37 | 显示全部楼层 |阅读模式
cvs服务器配置,配置了CVSROOT,CVS_RSH,配置了xinetd
service cvspserver
{
        disable         = no
        socket_type     = stream
        wait            = no
        user            = root
        log_type        = FILE /var/log/cvspserver
        protocol        = tcp
        env             = HOME=/home/cvsroot
        log_on_failure  += USERID
        port            = 2401
        server          = /usr/bin/cvs
        server_args     = -f --allow-root=/home/cvsroot pserver
}

启动xinetd,在本机上使用
cvs -d :pserver:username@hostname:/home/cvsroot login
能正常登陆。
但在其他主机上使用
cvs -d :pserver:username@hostname:/home/cvsroot login
总是提示cvs [login aborted]: reading from server: Connection reset by peer

也查看了网上的一些资料,大部分多说是防火墙引起的,但我根本没有使用防火墙,请高手指点。
发表于 2004-3-31 09:07:54 | 显示全部楼层
在终端下达setup,,fireware,disable掉。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表