setenv CVSROOT corn.cs.uiowa.edu:/space/hank/CVSRoot
setenv CVS_RSH ssh
The first environment variable sets the CVS root repository to be on corn and specified the root directory. Any machine within the CS department should work as well.
The second variable tells CVS to use ssh as opposed to rsh when contacting a remote CVS server. By using ssh you will be sending information securely across the networks.
That should be it. Once these variables are set, you can use CVS on the remote machine as described in the Local Setup Guide. To make your life simpler, you may want to learn about ssh-keygen, ssh-agent, and ssh-add.