How to Connect to CVS with ZDE Using Ext Protocol (SSH)

Follow

Applies To:

[ Zend Studio 5.x ]
[ All operating systems ]

Overview

This article explains how to use the CVS module in ZDE to connect to the CVS server using ext.

Instructions

  1. 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).
  2. 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.
  3. 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.
  4. All keys listed in that file are allowed access.
  5. 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.

Result

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

Alternative Description:

 

_____
Tags: Apple OS X 10.7 (Lion),Apple OS X 10.8 (Mountain Lion),Apple OS X 10.9 (Mavericks),authorized_keys,CVS,CVS_RSH,Debian / Ubuntu,MacOS 10.6 and earlier,MS Windows 2003 Server,MS Windows 2008 Server,MS Windows 2012 Server,MS Windows 7,MS Windows 8,MS Windows XP,RedHat Enterprise Linux / CentOS,SSH,ssh-keygen,SUSE Linux Enterprise Server / OpenSUSE,ZDE 5.x and older,oldKB

Comments