This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 140209 - [65cat] [tools] Unable to use subversion against an svn+ssh repository served on uncommon port
Summary: [65cat] [tools] Unable to use subversion against an svn+ssh repository served...
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-16 06:59 UTC by esmithbss
Modified: 2011-09-01 13:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2008-07-16 06:59:35 UTC
[ BUILD # : 200807101204 ]
[ JDK VERSION : 1.6.0_07 ]

When I try to access a subversion repository on my remote machine
(svn+ssh://<user>@<hostname>:<port over 7000>/<repos path>

I receive an error indicating hostname not found.

The host is defined in my /etc/hosts table and is accessible from
SmartSVN-v3 so I know the low level java subversion library can work
with it (the two tools appear to share the same low level library).
Comment 1 Tomas Stupka 2008-07-17 14:45:35 UTC
see http://wiki.netbeans.org/FaqSubversionSSH on how to setup the nb svn support with svn+ssh

feel free to reopen i case it shouldn't wok for you
also attach the whole error message then

thanks
Comment 2 Tomas Stupka 2008-07-21 12:50:06 UTC
this usually works. reopen please if the described setup shouldn't work for you ...
Comment 3 esmithbss 2008-07-23 06:14:09 UTC
Following the instructions for setting up the tunnel configuration within the .ssh config files, I have enabled the
tunnel information portion of the repository dialog.

The ssh repository is one I use within other tools (esvn, rapidsvn, smartsvn, tortoisesvn) successfully; however, I am
never prompted for the tunnel connection password, etc... within the IDE.

Looking at the CLI output, I see the following:

INFO [org.netbeans.modules.subversion]: Could not setup subversion java bindings. Falling back on commandline.
INFO [org.netbeans.modules.subversion]: running on commandline
commituser@XxXxXxXx.homeip.net's password: 

So it appears that an attempt to create the tunnel; however, I am still unable to properly connect.

Further, if the system requires me to place my username/password into any files on my machine, that is a breach of
security protocol for most companies.  Instead, the system needs to prompt for the password, or username/password for
the tunnel if necessary.
Comment 4 Ondrej Vrabec 2011-09-01 13:05:02 UTC
Should work now with svnkit and ability to set port number in connection settings dialog - http://hg.netbeans.org/releases/rev/bdc57d676861