hg Push 连接被拒绝
我使用 http://bitbucket.org 私有存储库,通常运行良好,但现在无法进行推送。< br> 当我尝试收到此消息时:
汞推 远程:ssh:连接到主机 bitbucket.org 端口 22:连接被拒绝
中止:远程汞没有合适的响应!
非常感谢。
I use a http://bitbucket.org private repository, usually works well, but now I can't do push.
When I try get this message:
hg push
remote: ssh: connect to host bitbucket.org port 22: Connection refused
abort: no suitable response from remote hg!
Many thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
连接被拒绝意味着他们的防火墙阻止了您,或者他们没有在端口 22(默认)上运行 ssh。我建议您联系他们的客户支持或与为您提供访问权限的任何人交谈。
Connection refused means that either their firewall is blocking you or they are not running ssh on port 22 (the default). I would recommend either contacting their customer support or talk to whomever gave you access.
由于端口 22 被阻止,我使用了备用 URL ssh://[email protected]< /a>:443/account_name/repo_name/ 如此处。
Since port 22 was blocked, I used the alternate URL ssh://[email protected]:443/account_name/repo_name/ as described here.
我遇到了同样的问题,实际上这个解决方案帮助了我:
添加这些行并保存。
取自 https://gist.github.com/goddoe/5692bfc3cdc374d918a87882963edf36
I had the same problem, and actually this solution helped me out:
Add these lines and save it.
taken from https://gist.github.com/goddoe/5692bfc3cdc374d918a87882963edf36