参考http://jingyan.baidu.com/article/3a2f7c2e16ca2a26afd611e2.html文档,在搭建的时候有几点耽误了比较久,记一下
进入COPSSH Control Panel应用对话框,状态一直为红色。
1.1 win+R services.msc进入服务管理器,查找Openssh SSHD服务,属性-》登录,确认账户和密码正确
1.2 打开control Panel最好以管理员权限打开,如果之前sshd进程已经开启,先关闭,在打开control Panel在git clone的时候注意格式git clone git@serverIP:/opt/git/project.git 或者git clone git@serverIP:/~/project.git,相对路径和绝对路径都试试。
- 其他配置不正确基本在ICW\bin\copsshcp.config文件中,中间遇到过每次git clone直接进入服务器的情况,主要是[Commands] Linux shell and Sftp 这个配置有问题,(默认是login)我把login去掉,改成和linux shell一样的命令Linux shell and Sftp=-,即可。