在Windows上的ssh客户端和服务器上的Mercurial
我正在尝试配置Mercurial与Windows服务器(freeSSHd)和客户端(命令行和TortoiseHG)一起使用。我正在使用最新版本的所有内容,全部在过去几天内下载。使用公共密钥认证,我已经能够连接到服务器,我可以使用plink执行“hg版本”并得到响应,但是当我尝试从ssh服务器克隆一个存储库时,命令显示为挂。用-v运行得到:
hg -v clone ssh://<username>@<server>//hg/repositoryA testRepositoryA running "plink.exe -i "<path to private key file>" <username>@<server> "hg -R /hg/repositoryA serve --stdio"" 没有什么更多的即将到来直接在服务器上运行hg服务命令会产生一个明显响应的Mercurial服务器,但客户端似乎没有进一步的请求。 在存储库目录中运行“hg服务”,并通过http克隆完美。 我应该寻找什么来帮助调试?有没有客户端(hg和TortoiseHG)不发送以继续请求流? 附加信息: 运行–debug和–traceback结果: sending hello command sending between command 它挂在这里,直到我CTRL-C Traceback (most recent call last): File "mercurialdispatch.pyo",line 46,in _runcatch File "mercurialdispatch.pyo",line 452,in _dispatch File "mercurialdispatch.pyo",line 320,in runcommand File "mercurialdispatch.pyo",line 504,in _runcommand File "mercurialdispatch.pyo",line 457,in checkargs File "mercurialdispatch.pyo",line 451,in <lambda> File "mercurialutil.pyo",line 402,in check File "mercurialcommands.pyo",line 636,in clone File "mercurialhg.pyo",line 187,line 63,in repository File "mercurialsshrepo.pyo",line 51,in __init__ File "mercurialsshrepo.pyo",line 73,in validate_repo KeyboardInterrupt interrupted! 响应Ryan:在服务器上似乎没有CPU使用情况或增加内存使用情况。它似乎在等待客户端发送请求或类似的东西。 11/19/2009:更多信息:
对我有用的解决方案是禁用SSH选项卡中的“使用新的控制台引擎”选项。另一件事是路径。 SSH:// @ ssh_user SSH_Server_Address:SSH_Port / Win_Drive_Letter:/ Path_To_HG_Repository
一个具体的例子: SSH://programmer@192.168.1.150:5522 / D:/存储库/ MyProyect /中继线 我目前使用MercurialHG不是CLI。我希望这个帮助 JQ 该解决方案实际上是从here获得的 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- windows-7 – 我应该切换到Windows 7进行主要开发吗?
- windows-server-2003 – “喷射包装WINS服务器”究竟是什么
- .net – Dll不复制到bin文件夹
- Microsoft Visual Studio 2010(vs2010) 中文版安装
- 重启后Windows服务不会自动启动?
- 迁移 – 将服务器迁移到新硬件 – SBS 2008
- 将time.windows.com重定向到内部服务器
- Windows XP中的hosts文件出现问题
- reporting-services – 为什么我在“Add Reference …”对话
- Win10设置文件夹权限报错-(提示:无法枚举容器中的对象 访问