[
https://issues.apache.org/jira/browse/NETBEANS-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17253775#comment-17253775
]
Gerald Colwill commented on NETBEANS-1191:
------------------------------------------
Hi, been having similar problems but on Linux. I create my ssh keys using
OpenSSH which now creates the private key beginning with BEGIN OPENSSH PRIVATE
KEY, JGit (which Netbeans is using) does not support this. My solution was to
create another key (name it something different like id_rsa_pem) with
ssh-keygen as before but add the -m PEM option. It then creates the key
beginning with BEGIN RSA PRIVATE KEY which JGit supports. You will need to add
the private key for the pem (id_rsa_pem.pub) to GitHub or whatever repo manager
you are using. Then use that key (id_rsa_pem) in Netbeans when doing git clone,
pull or whatever.
Hope this helps.
> OSX Netbeans 8.2 Git Problems - Auth Fail
> -----------------------------------------
>
> Key: NETBEANS-1191
> URL: https://issues.apache.org/jira/browse/NETBEANS-1191
> Project: NetBeans
> Issue Type: Bug
> Components: versioncontrol - Git
> Affects Versions: 8.2
> Environment: Mac OS High Sierra, Oracle Java 8 JDK 181, Netbeans 8.2
> Reporter: Christopher Ebejer
> Priority: Major
>
> I'm trying to use the git clone functions within Netbeans 8.2 (MAC OSx
> running Oracle JAVA JDK 8U181) to clone our remote private git repos. We
> access our git repo via private/public key over ssh. Everything works fine
> via the terminal/command line but when I'm using Netbeans the SSH Guard on
> our server is blocking my IP Address due to the following problems....
>
>
> {{Aug 25 20:32:32 hq-1 sshd[10726]: error: Received disconnect from
> 92.251.66.76 port 49622:3: com.jcraft.jsch.JSchException: Auth fail [preauth]
> Aug 25 20:33:13 hq-1 sshguard[10608]: Blocking 92.251.66.76 for 840 secs (4
> attacks in 41 secs, after 1 abuses over 41 secs) Aug 25 20:33:14 hq-1
> sshguard[10608]: 92.251.66.76 has already been blocked}}
> I have set up a similar computer running Windows 10 (Same Netbeans 8.2,
> JDK8U181 and same keys) and had no problems.
> It seems this issue is only happening on the MAC OSx. I have cleared as well
> the git cache and osxkeychain.
> I wasn't able to increase the logging on Netbeans to see why the JSch is
> giving me an Auth Fail.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists