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.
I'm using Gentoo and =dev-util/netbeans-8.0.2 with NETBEANS_MODULES="apisupport cnd java php profiler webcommon websvccommon" When trying to clone repository from github - I can't authorise using ssh key. I use RSA key without pass-phrase, when cloning from console - everything is ok. Tried to change ssh config, but no luck with this. Messages file in attachment
I'm using oracle-jdk-bin-1.7
Please attach the IDE log and a screenshot of the initial clone wizard step
Created attachment 152690 [details] Screenshot Here is screenshot with problem, I attached IDE log already or its not messages log?
(In reply to bober2000 from comment #3) > Here is screenshot with problem, I attached IDE log already or its not > messages log? No you didn't. I can see no such attachement here in the issue, just the screenshot.
Created attachment 152692 [details] IDE log
There is an exception in JSch: java.lang.ArrayIndexOutOfBoundsException: 766 at com.jcraft.jsch.Util.fromBase64(Util.java:51) at com.jcraft.jsch.KnownHosts.setKnownHosts(KnownHosts.java:157) Did you play with ~/.ssh/knownhosts file? Could you please move .ssh temporarily to another folder and create ~/.ssh fresh new? And copy just the private key there?
That worked - NetBeans created known_hosts file and cloned repo successfully, problem is with format of known_hosts in created file we have such record: github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== In old file it was: github.com,192.30.252.130 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== So the difference is in adding IP address - seems that NetBeans cant read such format
(In reply to bober2000 from comment #7) That's not it. I have such a record in known_hosts: github.com,192.30.252.131 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== and NB can connect successfully. It's probably a different malformed record in your file. Can you send the old one to me?
(In reply to Ondrej Vrabec from comment #8) Well, I checked again and with same settings as yours and it seems to be working - strange. Sorry but I've missed original known_hosts file Seems that we can close this as solved