CVS-"no repository exist" ERROR
Hello friends
i have installed cvs-1-11-* on my redhat 9.0 box this cvs works perfectly on local method but gives a lot problem on pserver method my xinetd configfile is service cvspserver { port = 2401 socket_type = stream protocol = tcp wait = no user = cvs passenv = server = /usr/bin/cvs server_args = --allow-root=/cvs/cvsroot -f pserver env = HOME=/home/cvs log = /var/log/cvslog } i have created a repository at /cvs/cvsroot/mypr but whenever i try cvs -d : pserver:sandeepm@localhost:/cvs/cvsroot/mypr login Logging in to : pserver:sandeepm@localhost:2401/cvs/cvsroot/mypr CVS password: /cvs/cvsroot/mypr: no such repository how can i solve the problem plese reply soon |
The easiest (and most secure) way to do it is not to use pserver at all. Run sshd on your server machine, and on the client connect using the cvs :ext: method. For example:
cvs -d :ext:sandeepm@localhost:/cvs/cvsroot/mypr login You might need to define the CVS_RSH environment variable, to tell cvs where your ssh binary is located: export CVS_RSH=/usr/bin/ssh That's all you need to do. Then as long as you've got SSH configured so you can login, you can login to CVS too. |
Thanks
Thanks fro the reply ..
But i already found the solution for the problem actually i made a mistake while creating the repository the path to the repository should be exactly same to the variable in --allow-root in the xinetd.conf file and also this method provides a very reliable access with ssh there are other problems........ like some organisation do not allow ssh connections for security reasons |
All times are GMT -5. The time now is 12:21 AM. |