任何人都可以通过简单的一步一步的指导指导我如何通过Windows上的ssh连接到mercurial repo。我真的很努力地想要解决这个问题,到目前为止,我仍然不断收到一连串的错误。任何帮助,将不胜感激。通过windows上的ssh连接到mercurial
2
A
回答
2
0
假设:您已经安装了腻子的套房,一个PPK和使用TortoiseHg。
这是我原来的c:\somerepo\.hg\hgrc
文件:
[paths]
default = ssh://[email protected]/someuser/somerepo
怎么使用ssh
怎么回事?让我们在命令行上调试一条拉语句,hg pull --debug
。我注意到它正在运行C:\Program Files\TortoiseHg\lib\TortoisePlink.exe
而不是ssh
拨打电话:
PS C:\somerepo> hg pull --debug
pulling from ssh://[email protected]/someuser/somerepo
running "C:\Program Files\TortoiseHg\lib\TortoisePlink.exe" -ssh -2 [email protected] "hg -R someuser/somerepo serve --stdio"
sending hello command
sending between command
abort: no suitable response from remote hg!
那么就让我们再利用的号召,增加压缩,非交互式(批)和我们的关键(耶!):
[paths]
default = ssh://[email protected]/someuser/somerepo
[ui]
ssh = "C:\Program Files\TortoiseHg\lib\TortoisePlink.exe" -ssh -2 -C -batch -i "c:\keys\somekey.ppk"
相关问题
- 1. ssh - '通过同级重置连接' - windows
- 2. Windows上的Mercurial“hg clone”通过ssh使用plink问题
- 3. 通过SSH的TeamCity 6.x和Mercurial(在Windows上)
- 4. 无法通过ssh连接到mysql
- 5. Jaspersoft/Pentaho - 通过SSH连接到MySQL
- 6. 使用Python连接到MySQL通过SSH
- 7. 我可以通过ssh连接到datalab
- 8. 通过ssh连接到CF - 错误
- 9. Ansible试图通过SSH连接到Windows计算机(失败)
- 10. 通过SSH连接配置Git连接到BitBucket的Magento站点
- 11. 通过SSH隧道连接到通过YARN运行的Spark
- 12. 如何通过SSH连接到Linux机器上
- 13. 无法通过SSH隧道通过Jedis连接到redis
- 14. SSH Windows 7的连接refuser
- 15. Nodejs Numtel通过SSH连接的Mysql
- 16. PHP:SSH通过现有的SSH连接
- 17. 通过ssh隧道的vb.net连接
- 18. 无法通过SSH连接到主机通过SSH与流行与Ansible Playbook
- 19. 通过SSH在Windows上通过MySQL从Linux复制到MySQL?
- 20. ssh连接上连接
- 21. 无法通过HTTPS连接到Windows ServiceBus
- 22. Windows Phone 7通过SOAP连接到SharePoint
- 23. RSAP包通过R连接到SAP(windows)
- 24. 通过安全的ssh连接的TCP连接
- 25. MySQL工作台未通过SSH连接
- 26. Amazon EC2无法通过Ubuntu连接SSH
- 27. 使用.pem文件通过ssh连接
- 28. 文件传输通过SSH连接
- 29. 通过Mint上的两个ssh连接在GUI中的MySQL连接
- 30. 用ssh连接到windows上的docker守护进程
使用cygwin的OpenSSH而不是plink。事实证明,我的情况快了25倍。 stdin/stdout管道(hg使用)在plink中非常缓慢。 – 2011-10-18 23:44:42