使用EXTSSH协议访问CVS

使用EXTSSH协议访问CVS
大部分开源网站对开发者的cvs访问采用extssh,简单过程如下:

1 生成公私匙(public/private key),通过putty或者cygwin的ssh-kegen生成。

步骤 http://alexandria.wiki.sourceforge.net/SSH+Key+Generation
Putty http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
cygwin http://www.cygwin.com/

2 将public key 粘帖到目标网站上。

3 在cvs 客户端设置一下,它需要一个ssh客户端,putty就可以。
以Eclipse为例:
  • wizard: new project-> projects from cvs
  • 输入cvs验证信息
  • 点击config connection preferences,在出现的对话框里面选择“use another connection method type to connect",将connect type置为extssh。点击下面的ssh2配置链接。
  • 接着配置ssh,在general tab中选择ssh2 home,这儿可以用putty的安装目录,在下面的private key中加入第一步生成的private key。
  • ok,确定。

你可能感兴趣的:(使用EXTSSH协议访问CVS)