You can create a pair of keys using PuTTY Key Generator (PUTTYGEN.EXE). Simply press the Generate button and move your mouse to generate randomness. This will create a public key for pasting into an authorized_keys file. Press the Save public key and Save private key buttons to save the keys as files. I have saved mine as:
- C:\Documents and Settings\[xpid]\ssh\id_dsa (private)
- C:\Documents and Settings\[xpid]\ssh\id_dsa.pub (public)
- Log onto CollabNet
- Click on My Workspace
- Click on Authorization Keys
- Paste the public key, generated in Step 1, into the Authorized Keys text area and press Update
- Open TortoiseCVS Preferences
- Go to the Tools tab
- Add your private key to your SSH parameters, so that it becomes:
-i "C:\Documents and Settings\[xpid]\ssh\id_dsa" -l "%u" "%h"Now, whenever you perform a CVS operation through Tortoise, it will not prompt you for a password. Your CVSROOT should look something like this:
:ext:fahd_shariff@cvs-collabnet.server.com:/cvsroot/moduleReferences:
Tortoise FAQs
CollabNet Help
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.