使用NetBeans 7.0.1推送到远程Git服务器 [英] Pushing to a remote Git server using NetBeans 7.0.1
问题描述
我远程有一台Linux服务器,它配置了GIT和Gitosis。该存储库位于git.desytec.com/morros。该URL需要身份验证,因为我不希望它被其他人查看。
I have a Linux server remotely, which has GIT and Gitosis configured. The repository is at git.desytec.com/morros. The URL requires authentication because I don't want it to be viewed by others.
推入NetBeans时,我使用以下URL:git@git.desytec.com: morros / .git,但是当我点击下一步时,会发生此错误:
When pushing in NetBeans, I use this URL: git@git.desytec.com:morros/.git but when I click Next, this error occurs:
git@git.desytec.com:morros/.git: reject HostKey: git.desytec.com
我的本地机器正在运行Windows 7。
My local machine is running Windows 7.
推荐答案
我在所有的git服务器上都得到了不支持智能HTTP推送。我将服务器转换为通过SSH和git用户来提供git服务,直到我安装了Netbeans 7.2的开发版本后,它才能正常工作。我使用密码验证而不是SSH密钥。
I got the "does not support smart HTTP push" on all of my git servers. I converted my server to serve git via SSH and a git user, and it still didn't work until I installed the development version of Netbeans 7.2. I used password authentication instead of SSH keys.
这篇关于使用NetBeans 7.0.1推送到远程Git服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!