BaNg@taobao

Just Do It!

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  20 Posts :: -1 Stories :: 202 Comments :: 0 Trackbacks
大部分开源网站对开发者的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,确定。

posted on 2008-07-30 10:38 Always BaNg. 阅读(722) 评论(0)  编辑  收藏 所属分类: Java

只有注册用户登录后才能发表评论。


网站导航: