Hey everyone, I’ve got Nebeans 11.3 on macOS 11.2 and am trying to push my local changes to a recently created remote git repository. But NB keeps telling me about invalid credentials (I used ssh private key) and when I look into the IDE log, I see this:
Caused: org.netbeans.libs.git.GitException$AuthorizationException: g...@xx.yy.zz.aa:SST.git: invalid privatekey: [B@1cc41291 at org.netbeans.libs.git.jgit.commands.TransportCommand.handleException(TransportCommand.java:235) … But the key isn’t invalid - I just created the private/public pair yesterday (using "ssh-keygen -t rsa”) and I can ssh to the remote machine from the terminal just fine. Similarly, a ‘git push’ works fine as well. Does anyone know what’s going on and how to fix this? For completeness, here’s my .git/config (hostname modified to protect the innocent) :-) [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true precomposeunicode = true [remote "origin"] url = g...@xx.yy.zz.aa:SST.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master Any insight much appreciated. In the meantime, I guess I’ll download 12.2 - just in case it was a bug. Tom p.s. I also already tried clearing Library/Caches/Netbeans/11.3 - that didn’t help either.