[Resolved] NetBeans 7.1.2 svn+ssh authentication cancelled issue on Mac OSX

I had been trying for a whole day to get my NetBeans 7.1.2 to connect to my friend’s Subversion with no luck. The problem was that NetBeans would return “authentication cancelled” error even with all the fields correctly filled. It was perplexing as we managed to get access using Xcode as well as Eclipse.

Then I found the following references and put one and one together:
[1] http://wiki.netbeans.org/FaqSubversionSSH
[2] http://forums.netbeans.org/ntopic23832.html

The problem lies with the Mac OS version of SSH will send a banner that confuses the NetBeans driver. To resolve it, I have to include the -q option in the .subversion/config file, under the “tunnels” section.

ssh = $SVN_SSH ssh -q
This entry was posted in Application Development and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.