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.
** Need to remove erroneous password popup windows. The environment is as following: Windows 7 PC with NetBeans 8.0.2 and Cygwin. Remote bare repository residing on an AIX server. .ssh key from local machine has been pushed to remote server The activity: When performing a git clone through NetBeans interface, I set the location, my username, set the radio button to Private/Public Key, location of id_rsa file, and press next. I get a userid password popup and press cancel. This repeats for a total of three times. However, I still successfully get to step 2. I select a branch and press next. I then press finish, I get a userid password popup again and press cancel. This repeats for a total of three times. Despite getting the password popup six times and pressing cancel each time, I succesfully get a clone of the remote repository. *** I have tried a few changes to the first screen without succesfully avoiding the passowrd popup. *** From a Cygwin terminal session, I am able to perform the git clone command without any password request appearing.
Please attach the IDE log when you click on cancel. And please make a screenshot of the popup, i am not sure what you're referring to.
Created attachment 153220 [details] Picture of the password popup I have loaded up the image. However, when I do a View -> IDE Log, nothing appears in the log when I hit cancel.
I don't recall such dialog, can you please generate a thread dump while it's open and attach it here? http://wiki.netbeans.org/GenerateThreadDump
Created attachment 153221 [details] Crtl-Break at the password popup I hope I performed the Ctrl-Break at the right time to get you what you need.
I think it's the order of the auth methods being called. We expect "publickey" to come before "keyboard-interactive,password". Could you take a look into HOME\.ssh\config file and let me know if there is (and what is the value) of "PreferredAuthentications" directive?
Fix: core-main #3ecf5e9c00a5 Changeset: 3ecf5e9c00a5 Message: Set the order of preferred auth methods as we actually expect them.
Hello, My computer did not have a file .ssh\config. I looked online for content information and created the following: Host * PreferredAuthentications publickey,keyboard-interactive,password,hostbased I put this file both in the Cygwin $HOME\.ssh and the Windows Users\uid\.ssh location. Do I need to do something else? I am still getting the password request popup.
Please try my fix again in a dev build when it gets into one and if it still happens please again attach a thread dump.
I read your comments as if there was a configuration issue. However, when I tried adding the configuration file, I still had the same issue. If I understand correctly now, there is a code change that will resolve this issue. Two quesations: 1. Will this code change resolve the issue even if I revert back to my original state that did not have the config files? 2. Being my first bug report, will I get an automated notification message when this fix gets into the standard build?
(In reply to soccer13player from comment #9) > I read your comments as if there was a configuration issue. However, when I > tried adding the configuration file, I still had the same issue. > > If I understand correctly now, there is a code change that will resolve this > issue. Honestly i am not absolutely sure what is the cause, i just hope my fix might help. But not sure, that's why i want you to try my fix. > > Two quesations: > 1. Will this code change resolve the issue even if I revert back to my > original state that did not have the config files? Yes, if it helps it should work regardless whether you keep the config files or not. So just remove them. > > 2. Being my first bug report, will I get an automated notification message > when this fix gets into the standard build? A comment will come to this issue in few days with a link to download a development build.
Whether your fix works or not, I appreciate that you are attempting address the issue. Thank you.
Integrated into 'main-silver', will be available in build *201507170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3ecf5e9c00a5 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #251867 - Clone Remote Repository using SSH Erroneous Password Popup Set the order of preferred auth methods as we actually expect them.
Tested nightly build. The password popup no longer appears when it is unneeded. Yay! Thanks! Will I get a notification when this piece of code makes it to a release? When is it expected to get into a release?
https://netbeans.org/community/releases/roadmap.html - NB 8.1 in October