博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
在SourceForge.net上使用TortoiseCVS上传代码
阅读量:4192 次
发布时间:2019-05-26

本文共 2358 字,大约阅读时间需要 7 分钟。

可能看到本文章的很少有人没有从SourceForge.net 下载过代码或者文件,但因为SourceForge.net 对上传的安全性考虑的非常周到,执行的比较严格,所以在SourceForge.net上使用TortoiseCVS上传代码对我来说一直是个很难的事情,

昨天终于在david.turning的帮助下,成功的使用SourceForge.net和TortoiseCVS建立了smart在sourceforge的代码

(),下面把具体的过程写下来:

1)下载软件

CVS客户端软件:    并安装。

下载SSH客户端的puttygen.exe和pageant.exe 

2)产生ssh的public key和private key

具体请参考

其实要看的部分就只有下面这块,我就不翻译了: 

To generate a SSH key using :

  1. Execute the PUTTYGEN.EXE program.
  2. Select the desired key type, "SSH2 DSA", within the "Parameters" section.
  3. Click on the "Generate" button.
  4. Follow the instruction to move the mouse over the blank area of the program in order to create random data used by PUTTYGEN to generate secure keys. Key generation will occur once PUTTYGEN has collected sufficient random data.
  5. Enter USERNAME@shell.sourceforge.net or USERNAME@cf.sourceforge.net for the key comment, depending on what host the key is for, replacing USERNAME with your SourceForge.net username.
  6. Enter the desired passphrase in the "Key passphrase" and "Confirm passphrase" fields. If the key will be used for automation of operations (i.e. as part of a script), you may choose to omit this step from the key generation process.
  7. Click on the "Save private key" button. Use the resulting dialog to save your private key data for future use. You may use a filename such as "SourceForge-Shell.ppk" or "SourceForge-CF.ppk". The .ppk extension is used for PuTTY Private Key files.
  8. Go to the on the SourceForge.net site. Copy your public key data from the "Public key for pasting into OpenSSH authorized_keys2 file" section of the PuTTY Key Generator, and paste the key data to the provided form on the SourceForge.net site. Click on the "Update" button to complete the posting process.
  9. Exit the PuTTY Key Generator (PUTTYGEN).
  10. Key data sync to hosts from the SourceForge.net site occurs on regular intervals. Your key data will be synchronized to the designated servers (either shell and CVS, or the Compile Farm) after a .

要注意的是,一定要按照上面列的先后顺序。第8步是把public key copy到   而private key是自己保存的。(了解信息安全的应该都明白)

3)运行pageant.exe

选择"Add Key",然后选择你在本地的私钥文件,输入你为私钥设置的密码。 先不要退出该程序。

4) 如果你想 新建module到SF.net

先 选中你在本地的源代码文件夹,然后点右键选择"CVS=>创建新模块"。

在弹出的frame中,protocal选择  ssh或者ext;server选择 agileflow.cvs.sourceforge.net;port不选;

库目录填/cvsroot/agileflow; username填 hongsoft;module 可以填你自己取的名字比如 smart_forleave

点确定,输入密码,就新建了module。

5) 后面的提交/修改/删除就和一般的CVS的使用是一样的了。

 

转载地址:http://phaoi.baihongyu.com/

你可能感兴趣的文章
第一款搭载红外测温功能的手机来了,6月3日见!
查看>>
这款iPhone 12将率先量产,诚意十足!分批上市或成定局
查看>>
一年赚4.5亿,网红盲盒公司泡泡玛特再战IPO
查看>>
化繁为简 回归初心 细品雅致设计的vivo X50系列
查看>>
拼多多回应“二次上市”:公司现金储备充裕 暂无任何计划
查看>>
前华为、魅族CMO加盟小米,雷军这样评价
查看>>
阅文推“单本可选新合同”:授权分级、免费或付费自选
查看>>
“一键删除中国App”应用海外走红,下载量破500万!谷歌:我先把你删除了
查看>>
罗永浩与银联合作直播,但因过程太流畅被网友调侃是录播
查看>>
Uzi宣布退役:身体条件不允许再继续战斗了!
查看>>
携程“线上摆摊”:1晚赚3105万
查看>>
Redmi 9或搭载联发科Helio G80:内置5000mAh电池 支持NFC
查看>>
AMD中国:没有对拼多多及其平台上任何店铺授权
查看>>
又一家互联网咖啡品牌要凉:papi酱、李诞曾代言,融资4亿打水漂
查看>>
iPhone 12将首次加入屏下指纹?都是为它铺路?
查看>>
全员摆摊开启!奉上摆摊“避坑”宝典
查看>>
期待已久!iPhone 13将使用带LTPO技术的OLED屏幕
查看>>
瑞幸咖啡股价再大涨超36% 目前总市值约13.87亿美元
查看>>
又开火了!马斯克炮轰贝佐斯:建议分拆亚马逊!
查看>>
微信朋友圈五月十大谣言:60岁以上老人打962899可享免费服务
查看>>