Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 493
  • Last Modified:

CVS Setup

I need guidance in setting up a CVS Client/Server system.
This will be a fairly long process as I have very little knowledge of networks, or CVS for that matter.

Here's what I want to setup:
Server:  A P3 machine to be used exclusively as a CVS server, running Red Hat Linux 8.0
On a LAN behind a firewall.

3 machines: 1 workstation on the LAN (Win2k)
               1 laptop (Win2k) capable of being on the LAN or dialin thru modem (using VPNClient)
               1 workstation (RH8.0) connecting only via dialin thru modem (using VPNClient)
(The last 2 machines are the same user)

Thus far, I have RH8.0 and CVS installed in the server.

From the cursory reading I've done, apparently I will want to use SSH.

I'm not sure where to go from here, so i guess this is part 1 of the question.  
What do I do next?

(i posted this question in Networking a couple days ago, but received no responses, so I'm trying it here.
If you can suggest a better category please do so)
  • 5
  • 2
1 Solution
If you are working only either through the LAN or through VPNclient there is no need for SSH encription because VPNclient is already encrypting everything for work that is done outside your LAN, and I guess you are not afraid from attacks from inside your LAN. All you need to do is install CVS regularly, and use IP address on the CVSROOT so the remote machine will not need to query the DNS for the local machine name.

What you need to do is:
1. Install RedHat CVS package first.
2. Open a directory on the CVS server which will be the cvsroot directory (where your repository will reside).
3. On the server write:
cvs -d <cvsroot directory> init

I would recommend using winCVS on the windows machines as it will be the easiest for people who are not familiar with it,
4. Install it on the windows machine (http://www.wincvs.org).

5. Set the repository name (CVSROOT) to be:

Use IP instead of hostname so the VPNclient will work.
6. As the method I would probably use pserver (make sure password authentication is working on your installation it should be all set by the RedHat package but if not read section http://www.cvshome.org/docs/manual/cvs_2.html#SEC29

7. On the RH machine either use JCVS or just regular CVS clients commands just set the CVSROOT enviorment variable the same as on the windows machine,

And that’s it, you are set to go.

Let me know if you need more help,

allelopathAuthor Commented:
You are correct in that I am not concerned about attacks from within the LAN.

I have to set up users on the server side, do I not?  Will the users be users of the server machine itself (thru RH) or of CVS?

I've read the pserver is not good to use because the password encryption is really weak.

Yes, you need to set the users on the RH server.
And why do you that concern of the users authentication of being to week, are you afraid users from inside your LAN will access this CVS? This authentication is working either when you are working inside the LAN. When you’re using it from outside the LAN you are using VPNClient which has its own authentication and encryption in order to login your LAN, only after the user passes the VPNClient authentication his CVS client will use this “week” authentication which is again the second authentication and not the main one.
Unless you afraid from people that have access to you LAN to access this CVS without permission I wouldn’t bother using something else.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

allelopathAuthor Commented:
ok, i think i understand the authentication issue.  I'll user pserver.

for [port], do I use 2401?
allelopathAuthor Commented:
Also, not sure about the [ ] in setting CVSROOT, do they appear at all, or not, e.g.:


and how would I set CVS root on the server itself, in particulaur would the method still be pserver?
allelopathAuthor Commented:
CVSROOT is set in .bashrc
allelopathAuthor Commented:
Got it working on the LAN.
Next is to do it remotely thru VPN Client.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now