|
|
Last updated: 9 Apr 2003
WinCVS From Home
Before you can setup WinCVS to access your cvs repository from home,
there are several steps you must complete.
There is also documentation available here
on how to use WinCVS.
Generating Your SSH Keys
- Open the ssh client and connect to:
cssgate.tacoma.washington.edu
- Generate and upload your key:
- Select Edit/Settings from the file menu
- Under Global settings/User Authentication select Keys
- Press the Generate New... button.
- Press the Next button
- In the Key Type drop-down box select:
RSA
- In the Key Length drop-down box select:
1024
- Press the Next button
- After it is finished generating the key, press the Next button
- Give the key a filename (For example: id_rsa_home_cvs)
and press Next (Don't enter a passphrase)
- Select yes when prompted
- Press the Upload... button and change the destination
folder from .ssh2 to .ssh and press Upload
- Press the Finish button
- Press the Configure button, then press OK twice
- Convert and Authorize Your Key
In your ssh session with cssgate:
- Change to the .ssh directory under your home directory
- You should see your key listed
- Type the following command at the prompt:
ssh-keygen -i -f your_key_filename >> authorized_keys
The double ">>" will append your key to the
authorized_keys file without overwriting the existing key list
Configuring WinCVS
- Double-click on the WinCVS icon
- Configure CVS in WinCVS Preferences (also available from
file menu Admin/Preferences...):
- On the General tab, Enter the CVSROOT: field,
type the following, substituting your login name for "uwnetid"
:ext:uwnetid@cssgate.tacoma.washington.edu:/home/UWTCSS/uwnetid/cvs
For example, for uwnetid "test0002":
:ext:test0002@cssgate.tacoma.washington.edu:/home/UWTCSS/test0002/cvs
This tells WinCVS that you are referencing an external server
(cssgate) via your login account (test0002) there, and defines
the respository to be your home directory's cvs subdirectory.
- In Authentication: drop-down box, select:
SSH server
This informs WinCVS of how you will be authenticating yourself
to the CVS server.
- On the Ports tab, check the box to the left of Check
for an alternate rsh name
- In the field to the right of Check for an alternate rsh
name, enter:
ssh2.exe
This is the command that, together with the public key authentication
set up above, will enable CVS commands from our client Windows
computer to be issued to the CVS server.
- Click on the OK button to save the preferences. If your uwnetid
was "test0002", you would see in the log window:
NEW CVSROOT: ext:test0002@cssgate.tacoma.washington.edu:
/home/UWTCSS/test0002/cvs (ssh authentication)
- Check communication with the server by creating your CVS repository
via the file menu Create/Create a new repository... item
- Click on the OK button to initialize the repository
- In the log window, you should see:
cvs -d :ext:test0002@cssgate.tacoma.washington.edu:/home/UWTCSS/test0002/cvs init
*****CVS exited normally with code 0*****
If you don't, you probably mistyped something in the Preferences,
or the full path to ssh2.exe needs to be added to the system
path; read the messages preceding the CVS exited message
to get an idea about what went wrong.
At this point, you are finished with configuring CVS and can work
with it.
Note that when you add modules, the path is relative to your
CVSROOT, so you should not specify an absolute path name when prompted.
Change Log
9 Apr 2003 |
Original document |
Hours
| Support Information |
News |
Policies | Emergencies
|