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.
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
My local machine is running Windows 7.
解决方案
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.