Setting up CVS
Open the View menu and select CVS Navigator. A new panel will open on the left side of the IDE.
Right-click the CVS icon in the new panel, and select New CVS Connection... from the context menu. A dialog will apear that guides you through the setup process.
Click Next > and you will come to the CVS connection setup wizard:
- Make sure Access Method is set to Secure Shell via SSH2 (:ssh2.
- Fill in all the fields to specify the cvs server.
- Select a name and location for the SSH2 key pair, and click Generate SSH2 Key Pair. The following dialog will appear:
- You shouldn't have to make any changes. Make sure Generation Algorithm is set to RSA (1024-bit) and then click OK.
- You will be prompted to enter a passphrase -- leave it blank and click OK.
- The next dialog to appear has instructions describing how to use the key. Click OK to close it and follow the instructions below.
Installing the ssh2 key
FTP to ftp-slac.slac.stanford.edu, cd into the .ssh directory and put your public key file there. In the example shown here, that file would be "C:\Documents and Settings\dflath\id_dflath.pub".
Log into any SLAC central unix server (ie a noric).
cd into the .ssh directory and execute the following command (replacing id_dflath.pub with the name of the file you just put with ftp):
cat id_dflath.pub >> authorized_keys
You can now close the terminal window and return to the JDeveloper CVS Connection Wizard dialog. - Click the Next button.
A dialog showing the full CVS root will be displayed. Click Next to continue.
A dialog will appear that allows you to test the connection:
If you encounter a problem, you've probably made a mistake, use the Back button to retrace your footsteps and look for an error.
After you click Next you will be able to supply an alias (pretty name) for the newly created connection. Then click Finish and you'll see the new connection become available in the CVS Navigator window.
1 Comment
Daniel Flath