I am using OpenSSH keys. 

Putty is not involved, only git. Git seems to work fine with the OpenSSH key. 
I converted my OpenSSH to a Putty key, but NetBeans isn't happy with that 
either. 


-----ursprüngliche Nachricht-----
 Von: pieter.van.den.hombe...@gmail.com
 Gesendet: 25.06.2025 11:45 Uhr
 An: avaluedcusto...@freenet.de
 Kopie: users@netbeans.apache.org
 Betreff: Re: git pull/push not working over ssh



Your problem reminds me of the fact that putty ssh keys are in a different 
format than openssh keys.
I had to convert them. Anyway, depending on what you are using, openssh or 
putty, that might have a clue. Also, if you are using an ssh-agent, make sure 
that is up and running before you start netbeans.

met vriendelijke groet
Pieter van den Hombergh


Op wo 25 jun 2025, 10:44 schreef <avaluedcusto...@freenet.de>:
Hello,


I am working on a project where the git repository is cloned via ssh (I am 
using Windows 10 if that makes a difference).


When I am trying to pull or push, NetBeans always asks me for my credentials: 
https://i.imgur.com/iDi8uPb.png



Even if I provide the full path to my private key file, it still fails. When I click on 
cancel in the "password prompt" dialog, i get an error:


    ssh://git@****.git: fromBase64: invalid base64 data


The stacktrace of the error is here: 
https://notebin.de/?6e45e5e24d34f351#HPVmf7f4ye2DoXJuPifP57ZcpPpyFdt18UCujszHfykp


Needless to say that pushing from the command line works without any problems. 
Pushing through https from within NetBeans also works without problems, but our 
company changed everything to ssh. 


I guess something is wrong with my NetBeans configuration, but I can't figure out, what 
to provide in the "password prompt" dialog (or anywhere else). 


The bitbucket host is configured in %USERPROFILE%\.ssh\config with the correct 
username and full path to the private key file for that server (this is 
necessary as I am working with different git repositories that require 
different ssh keys). 


The entry looks like this: 


Host bitbucket
  Hostname bitbucket.****.com
  IdentityFile c:\******.ppk  
  User *****  
  IdentitiesOnly yes  
  Port 7999


Any ideas what I am doing wrong? 











---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




-----ursprüngliche Nachricht Ende-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to