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 217051 - remote GIT using auth key
Summary: remote GIT using auth key
Status: RESOLVED WONTFIX
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-17 23:31 UTC by maxym
Modified: 2012-08-23 19:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (33 bytes, text/plain)
2012-08-17 23:32 UTC, maxym
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maxym 2012-08-17 23:31:32 UTC
Any attempt of push into remote repository with using key method ends up with following error:
Cannot connect to remote repository at ssh://...

It is enough to switch to password method to get it working.
While trying to connect using key, no login attempt is logged on server side (with remote git repo).


Product Version = NetBeans IDE 7.2 (Build 201207171143)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_05
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.1-b03
Comment 1 maxym 2012-08-17 23:32:09 UTC
Created attachment 123275 [details]
IDE log
Comment 2 maxym 2012-08-18 01:21:28 UTC
Comment on attachment 123275 [details]
IDE log

removed.
Comment 3 maxym 2012-08-18 01:23:40 UTC
Please remove attachment added automatically by NB. It contains some classified content I don't want to expose.
Comment 4 maxym 2012-08-18 01:32:00 UTC
I noticed that invalid private key exception is thrown.
My ppk is generated by puttygen and I'm using it with success with other apps like putty or winscp. My ppk is passworded.
Comment 5 Ondrej Vrabec 2012-08-23 19:33:24 UTC
> Caused: org.netbeans.libs.git.GitException$AuthorizationException: ssh://banzaj@banzaj.pl/home/git/sls.git/: invalid privatekey: F:\_inet\Putty\keys\maxym.ppk
we support only openssh private keys, you have to convert the putty key into openssh format