using remote cvs on wendy

Below are the steps necessary to access, from a remote machine, a cvs repository in a user account on wendy (pserver is installed on wendy).

We assume that

Here's the procedure:

  1. Get rsh working from tinfpc2.vub.ac.be to wendy.

    1. Ensure that tinfpc2.vub.ac.be is the official hostname. This can be checked by finding out the IP address of the machine (from /etc/hosts) and then using nslookup to get the official hostname.
      	rasto$ grep 184 /etc/hosts
      	134.184.65.91           rasto.rave.org rasto
      	
      This is another name than tinfpc2!
      	rasto:~$ nslookup 134.184.65.91
      	Server:  igwe11.vub.ac.be
      	Address:  134.184.49.11
      	 
      	Name:    tinfpc2.vub.ac.be
      	Address:  134.184.65.91
      	
      So tinfpc2.vub.ac.be (not rasto.rave.org) is the official hostname of the remote machine.

    2. Update ~se4/.rhosts on wendy by addding a line
      	wendy$ echo "tinfpc2.vub.ac.be dvermeir" >>$HOME/.rhosts
      	

    3. Check that rsh works by trying to connect from tinfpc2.vub.ac.be:
      	rasto$ rsh wendy -l se4
      	Last login: Fri Feb 16 14:13:32 from tinfpc2.vub.ac.be
      	Sun Microsystems Inc.   SunOS 5.7       Generic October 1998
      	1 WEndy:~$
      	
      (This command should log you into wendy without asking for a password).

  2. On tinfpc2.vub.ac.be: define CVSROOT to refer to the repository on wendy. E.g. you can add the line
    	export CVSROOT=:ext:se4@wendy.vub.ac.be:/export/home3/students/se4/cvsroot
    	
    to your .bash_profile file.

  3. Test it.
    	rasto:~$ cvs co test
    	cvs server: Updating test
    	U test/test.C
    	rasto:~$
    	

Dirk Vermeir (dvermeir@vub.ac.be) [Last modified: Fri Feb 16 14:39:23 MET 2001 ]