[ Zend Studio 5.x ]
[ All operating systems ]
This article explains how to use the CVS module in ZDE to connect to the CVS server using ext.
- Setting the 'CVS_RSH' environment variable in ZDE preferences is required - Tools | Preferences | CVS. It should be set to 'SSH' if you have ssh in the system path. On Unix platforms type in 'ssh' (or the full path to the ssh client), on Windows 'SSH' (if you don't have SSH binary in your path, specify the full path to the ssh executable).
- Create the public and private keys pair using the ssh-keygen script. This script is located in the ssh binary folder. You will get two files in the .ssh folder under your user home directory - id_rsa and id_rsa.pub.
- To allow access to the CVS server for your user, place the public key in your ~/.ssh/authorized_keys file on the CVS server. If you use the ssh2 protocol, you may need need to place the key in ~/.ssh/authorized_keys2.
- All keys listed in that file are allowed access.
- Make sure that only the owner has writing permissions to the authorized_keys file. The id_rsa.pub should remain on your local machine under your home directory in the .ssh folder.
After setting the above, you should be able to checkout a module from the CVS server using this pattern for CVSROOT field in the CVS Checkout window in Studio - :ext:username@server-name:path-to-repository
Excerpt: This article explains how to use the CVS module in ZDE to connect to the CVS server using ext.
Original Post Date: 2009-07-20 19:02:26