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 268606

Summary: ssh agent not used for subversion authentication
Product: versioncontrol Reporter: netbeans.89423
Component: SubversionAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: working svnkit ssh-agent example

Description netbeans.89423 2016-10-20 14:23:47 UTC
Ubuntu 16.10, amd64. Using svn 1.9.4 to check out a local working copy of a netbeans project. Accessing subversion history via svn+ssh:// and svnkit (set as preferred) from inside netbeans only works when entering the private key file and passphrase. SSH_AUTH_SOCK env var gets set at login by the gnome session startup as far as I understand it bec I selected "unlock at login". Command line access via ssh agent is working. Netbeans was started from the same terminal and SSH_AUTH_SOCK was set.
Comment 1 netbeans.89423 2016-10-20 17:10:13 UTC
I just tried their svnkit 1.8.14 cli and it did not work either.

Then I did it myself and it works. See test.java for an example.
Comment 2 netbeans.89423 2016-10-20 17:10:57 UTC
Created attachment 162574 [details]
working svnkit  ssh-agent example