使用Netbeans和Git的SSH问题 [英] SSH problem using Netbeans and Git

查看:155
本文介绍了使用Netbeans和Git的SSH问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从其他人那里看到了关于这个问题的其他帖子,但是我仍然在使用ssh与netbeans& Git在Windows 7上。我是新来的混帐,所以我相信我失去了某个地方的东西。



我在我的Ubuntu服务器上完成了 init git 。我还在系统属性 - >高级 - >环境变量中的用户名变量下设置了%HOME%,并创建了 .ssh 文件夹在我为%HOME%定义的路径中。现在,我在哪里得到关键文件?我将它们从Ubuntu服务器复制到那里,但是当我尝试通过使用ssh的netbean进行连接时,它仍然会说


:ssh:// user @ 200.200.200.111 / git:拒绝HostKey:200.200.200.111

我在这里做错了什么?

解决方案

这是NetBeans 7.0.1中的一个已知错误。只有ssh公钥/私钥的远程仓库
这里是他们错误数据库的链接:



http://netbeans.org/bugzilla/show_bug.cgi?id=199263



<看起来它已经为下一个版本(7.1)修复了。我试过了,它为我工作。这里是我得到最新开发版本的地方:

http://bits.netbeans.org/download/trunk/nightly/latest/

记住,开发版本可能有一定的稳定性问题。

I have looked at the other posts from the other folks regarding this issue but I still have problems getting ssh to work with netbeans & git on windows 7. I am new to git so I am sure I am missing something somewhere.

I have done init git on my Ubuntu server. I have also set a %HOME% under the "user variables for username" in system properties->advanced->environment variables and created a .ssh folder in the path that I defined for %HOME%. Now where so I get the key files? I copied them from the Ubuntu server to there but when I am trying to connect by netbean using ssh it still says

ssh://user@200.200.200.111/git: reject HostKey: 200.200.200.111

What do I do wrong here?

解决方案

This is a known bug with NetBeans 7.0.1.

Bug 199263 - Cannot connect to remote repositories with just ssh public/private keys Here is the link to their bug database:

http://netbeans.org/bugzilla/show_bug.cgi?id=199263

Looks like it has been fixed for the next release (7.1). I tried it and it worked for me. Here is where I got the latest dev build:

http://bits.netbeans.org/download/trunk/nightly/latest/

Remember, dev builds may have some stability problems.

这篇关于使用Netbeans和Git的SSH问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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