Access cvs server for windows via ssh protoco…

2009-05-13 01:55:40来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折


It is easy to install a cvs server support ssh protocol on windows box.
1. download the latest cvsnt and sshd (such as openssh, copssh). Where are they? search. I use copssh as my sshd.
2. install cvsnt and copssh
3. run cvsnt and create repository.
4. activate the cvs user for copssh, the script will create passwd, home directory, etc.
5. go to the cvs user home directory, create .bashrc, and add the next line:
    export PATH=$PATH:/cygdrive/the_path_of_cvsnt
    tip: you can login from remote box to cvs server via ssh, then create this file. It is forbidden to create this file on windows.
6. use ssh-keygen to create public/private key pair, and add the public key to cvs user's $HOME/.ssh/authorized_keys.
7. setup cvs client to support ssh
8. finished.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/132/showart_63108.html

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:wincvs通过ssh连接cvs

下一篇:Mysql安装