NetBeans + Mercurial + SSH =无限拉/推 [英] NetBeans + Mercurial + SSH = Endless Pull/Push

查看:86
本文介绍了NetBeans + Mercurial + SSH =无限拉/推的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Mercurial工作得很好.我可以通过cmd命令来推/拉.但是在NetBeans中,推/拉将永远持续下去.我试图通过http推送到BitBucket,并且它起作用了.但是在ssh上没有做同样的事情.并使用与"hg push ssh://..."相同的ssh push.

I have well working Mercurial. I can push/pull through cmd commands. But in NetBeans push/pull lasts forever. I've tried to push to BitBucket over http and it worked. But the same thing over ssh didn't. And the same ssh push with 'hg push ssh://...' worked.

NetBeans有什么问题?这可能是我应该更改或更改的某些选项.

What's wrong with NetBeans? It may be some option i should change or smth.

推荐答案

好的,我已经解决了这个问题.我需要在bitbucket的个人资料中上传我的公钥.并将公共密钥放在我服务器上的authorized_keys文件中.在该授权是无密码的之后,使用密钥和NetBeans即可进行拉/推.

Ok, i've managed the issue. I needed to upload my public key in bitbucket's profile. And put public key in authorized_keys file at my server. After that authorization is passwordless, using keys and NetBeans pulls/pushes ok.

这篇关于NetBeans + Mercurial + SSH =无限拉/推的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆